2. Write a program java to print the table
of any number entered by the user
Answers
Answered by
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
Math,
3 months ago
Computer Science,
3 months ago
Business Studies,
6 months ago
India Languages,
6 months ago
Chemistry,
1 year ago
Math,
1 year ago