Computer Science, asked by ejaadebayo, 10 months ago

Write an algorithms to find the product of 4 number let the number be 1,2,3,4

Answers

Answered by Lazarus
11

Answer:

Start:

Step 1:To initialise class name , access specifier,modifier(static) return type method name(main method for example).

Step 2: Initialise and store the variable to find out the product of four numbers   .

Step 3:Take four different variables as local variables by initialising 1,2,3,4.

Step 4: With the help of these four different variables find out the product of 4 numbers by storing in another variable as done in Step 2.

Step 5:Print the variable where the user has stored the product of 4 numbers.

Stop.

Explanation:

Similar questions