Computer Science, asked by dhirendrakanpur, 6 months ago

2. Write a program java to print the table
of any number entered by the user​

Answers

Answered by mmukeshwar121
1

ANSWER : public class Multiplication_Table.

Scanner s = new Scanner(System.

System. out. print("Enter number:");

int n=s. nextInt();

for(int i=1; i <= 10; i++)

System. out. println(n+" * "+i+" = "+n*i);

Similar questions