WAP to print table of 1 java
Answers
This is a Java Program to Print Multiplication Table for any Number.
Enter any integer number as input of which you want multiplication table. After that we use for loop from one to ten to generate multiplication of that number.
Here is the source code of the Java Program to Print Multiplication Table for any Number. The Java program is successfully compiled and run on a Windows system.
Answer:
Java Program to Print Multiplication Table for any Number
public class Multiplication_Table.
public class Multiplication_Table.Scanner s = new Scanner(System.
public class Multiplication_Table.Scanner s = new Scanner(System.System. out. print("Enter number:");
public class Multiplication_Table.Scanner s = new Scanner(System.System. out. print("Enter number:");int n=s. nextInt();
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++)
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);
plzz mαrk αѕ вrαínlíѕt