Ask a New Question

Question

Write an algorithm prompts a user to enter 15 masses of goats and display average mass
5 years ago

Answers

oobleck
sum=0
for i=1..15
print "Enter mass"
read mass[i]
sum += mass[i]
end for
print "Average mass: ",sum/15
5 years ago

Related Questions

Write a program that prompts the user to enter a temperature, followed by a letter representing Cels... write an algorithm for each of these two problems in pseudocode.(20 points each) Mrs. Smith is o... write a program that prompts the user to input three numbers. The program should then output the num... How to write an algorithm to find the fibonacci series ??? Help:/ Write a program that prompts the user for a name, social security number, hourly pay rate , and the... Write an HTML form that prompts the user to enter loan amount, interest rate, and number of years, a... Write a program that prompts the user to enter the cost of renting one room,the number of rooms book... Write an algorithm to add the number of 2345+1245? Write a program that prompts the user to enter a number representing the speed a car is travelling. Write a program that prompts a user to input three doubles and then prints these three doubles backw...
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use