Math, asked by ananya6413, 1 year ago

write an algorithms to calculate the multiplication of 5 numbers ​

Answers

Answered by anmol6433
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....
ananya6413: ya
anmol6433: hmm fine then...
ananya6413: kk
anmol6433: hmm
Answered by rocksayaan01
0

Answer:

1 ship

Step-by-step explanation:

trhgyt5

Similar questions