Social Sciences, asked by prakgatiyadav132001, 1 year ago

Write a algorithm on to accept three
numbers and print their product

Answers

Answered by safinakhatun201718
0

Answer:

program SumAndProduct

real number1, number2, number3, total, product

print *, "Enter first number"  

read *, number1

print *, "Enter second number"

read *, number2

print *, "Enter third number"

read *, number3

total = number1 + number2 + number3

product = number1 * number2 * number3

print *, "The sum of the three numbers is ", total

print *, "The product of the three numbers is ", product

end program SumAndProduct

Similar questions