
Design and develop a program that will print a multiplication table. The program should: Ask the user for ending number than it must Display that particular multiplication table.

import java.util.Scanner;
class Multiplication
{
public static void main(String args[])
{
int n;
System.out.print("Enter the number whose table is to be displayed: ");
Scanner in = new Scanner(System.in);
n = in.nextInt();
for(int i=1;i<=10;i++){
System.out.println(n*i);
}
}
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
