write an algorithms to calculate the multiplication of 5 numbers
Answers
Answered by
1
Import java.util.*;
class program
{
void main ()
{
Scanner ob = new Scanner (System.in);
int a, b, p;
System.out.println("Enter the first number");
a = ob.nextInt();
System.out.println("Enter the second number");
b = ob.nextInt();
System.out.println("Enter the third number");
c = ob.nextln
System.out.println("Enter the fourth number");
d = on.nextln
System.out.println("Enter the fifth number")
e = on.nextln
p = a * b * c * d * e;
System.out.println("The product of " + a + ,+ b + ,+ c + , + d +, + e +" +p);
}
}
}
anmol6433:
hope it help you....
Answered by
0
Answer:
1 ship
Step-by-step explanation:
trhgyt5
Similar questions