Write a Java program to accept a number and print its table
Answers
Answered by
0
- 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);
Hope its help u
Similar questions
Computer Science,
2 months ago
Physics,
2 months ago
Math,
5 months ago
French,
5 months ago
Science,
11 months ago