Ask a New Question

Question

Design an algorithm that keeps reading positive numbers until the user enters a zero value, and determines and outputs the largest number
7 years ago

Answers

Writeacher
You might actually get a response if you indicate your subject in a better way. There's a big difference between "it" and "IT."
7 years ago
Damon
start
read nold
1 read new
if new = 0, go to 2
if new >nold, then nold = new
go back to 1
2 print nold
end
7 years ago

Related Questions

Design an algorithm that accepts two values, the hourly rate and the number of hours worked by an em... design an algorithm that reads three numbers and prints that smallest number.using pseudo code and f... design an algorithm that keeps on reading numbers until the user enters-1and them determines and out... Design an algorithm that multiplies three numbers and display the results? Design an algorithm that compare three numbers and display the smallest to the screen? Design an algorithm to find the average age of n students, where n is the number of students. Design an algorithm to assist a school to calculate it's canteen which sum up to 12cedis displaying... You can run an algorithm like you can run code. (1 point) Responses True True False False... What does the algorithm do in the context of social media
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use