For some calculations, we want an algorithm that accepts only positive integers upto 100.
Accept_1to100_Algo INPUT Number
IF (0<= Number) AND (Number <= 100)
ACCEPT
Else
REJECT
a) On what values will this algorithm fail?
b) Can you improve the algorithm?
Answers
Answered by
0
Answer:
Hloooooooo friends gd morning................
nzmsmsjsbfbbfbc
Similar questions