PROGRAM FOR MULTIPLICATION OF TWO NUMBER

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import java.util.Scanner;
public class Mul
{
    public static void main(String[] args)
    {
         System.out.print("Enter the first number:");
         Scanner x=new Scanner(System.in);
         int i=x.nextInt();
         System.out.print("Enter the Second number:");
         Scanner y=new Scanner(System.in);
         int j=y.nextInt();
         int z;
         z=i*j;
         System.out.println("Multiplication of Given two number = "+z);
     }
}

Output:Multiply of Two Numbers

IPAdd