Asked by baikedagn

design an algorithm that keeps on reading numbers until the user enters-1and them determines and out puts the largest number .using pseudo codeand flow chart

Answers

Answered by Damon
x = 0

1 read n

if n = -1, go to 2

if n > x then x = n

go up to 1

2 print x

end
Answered by sol
start- (using start process)
enter number-(using input process)
number not equal to -1 (using decision)
if yes back to enter number
if no end(using End)
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions