88.0k views
10 votes
PlanthelogicforLungi’sapplicationusingpseudocode.Thelogicneedstosatisfythefollowingneeds:TheapplicationwillneedtoallowLungitoenterthenumberofblanketshewishestodistributeonagivenday.TheapplicationshouldkeeptrackofthenumberofblanketshandedouttoensurethatLungidoesnothandoutmoreblanketsthanhehas.TheapplicationwillneedtowarnLungiwhenhehasonlyone(1)blanketlefttohandout.

1 Answer

8 votes
according to my
calculations is 3
User Phron
by
3.7k points