Computer Science, asked by vatsal7347, 2 months ago

Write a Java program to accept a number and print its table​

Answers

Answered by ritisha14
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