Computer Science, asked by acharyvikash7408, 8 months ago

Write a program to print following pattern 1234 2468 36912 481216

Answers

Answered by mn121
4

Since you have not given in which programming language the code has to be written, so i am writing using java....

Hope it helps you...

import java.util.*;

public class pattern

{

public static void main(String args[])

{

Scanner in = new Scanner(System.in);

int i,j;

for(i=1;i<=4;i++)

{

for(j=1;j<=4;j++)

{

System.out.print(i*j);

}

System.out.println();

}

}

}

// Please mark it as brainliest...

//☺️☺️☺️

#BAL

#AnswerWithQuality

Similar questions