write a java program to display table of any number
Answers
Answered by
1
Java Program to Print Multiplication Table for any Number:
- Public class Multiplication_Table.
- ublic class Multiplication_Table.Scanner s = new Scanner(System.
- ublic 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).
PLEASE MARK ME AS BRAINLIEST.
Answered by
0
Answer:
Java Program to Print Multiplication Table for any Number
#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