Asked by Larry

Write a pseudocode to represent the logic of a program that allows the user to enter the rainfall for 12 months (January to December). The output will consist of the total rainfall for the year and the average rainfall for the 12 months.

Answers

Answered by Steve
total=0
for i=1..12
read val(i)
total += val(i)
end for

avg = total/12

print total,avg
Answered by Anonymous
A. Write pseudocode to show a program logic that performs the evaluation of clients for discount qualification.
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions