import java.util.*;
public class product
{
public static void main(String args[])
{
Scanner p= new Scanner(System.in);
int a,b,c,pro;
System.out.println("Enter three number please :");
a=p.nextInt();
b=p.nextInt();
c=p.nextInt();
pro=a*b*c;
System.out.printf("The product of three numbers is =%d",pro);
}}
0 comments:
Post a Comment