325,229 views
44 votes
44 votes
With the cold winter months fast approaching, Lungi wants to improve the overall effectiveness of operations at his NGO. He wants to keep track of all the blankets he has in stock and be able to determine how many he has left on distribution days. In the past, it has happened that Lungi thought he had blankets to hand out but in fact had none left. Lungi found out that you are an IT student who needs to find a client for their final year IT project. He has volunteered to be your client. Q.1.1 Plan the logic for Lungi’s application using pseudocode. The logic needs to satisfy the following needs:  The application will need to allow Lungi to enter the number of blankets he wishes to distribute on a given day.  The application should keep track of the number of blankets handed out to ensure that Lungi does not hand out more blankets than he has.  The application will need to warn Lungi when he has only one (1) blanket left to hand out.  Once all the blankets have been handed out, the following report should be produced:  The pseudocode should incorporate the use of modules.  The pseudocode should implement the features of good program design.  Use at least one loop structure appropriately.  Use at least one selection structure appropriately.

User Swaprks
by
2.6k points

1 Answer

18 votes
18 votes
There would not be enough blankets
User Deejers
by
3.2k points