import java.util.*;
class Product
{
public static void main(String args[])
{
int n,i,j;
Scanner sc = new Scanner(System.in);
System.out.println("Enter a number:");
i=sc.nextInt();
j=sc.nextInt();
n=i*j;
System.out.println("The product is "+n);
}
}
class Product
{
public static void main(String args[])
{
int n,i,j;
Scanner sc = new Scanner(System.in);
System.out.println("Enter a number:");
i=sc.nextInt();
j=sc.nextInt();
n=i*j;
System.out.println("The product is "+n);
}
}
No comments :
Post a Comment