b. Write an algorithm/pseudocode for a movie rental company that wants to screen their customers from 18years and above. The system should be able to deny access to customers that appear below 18. (8pts)
c. Draw a Flowchart to illustrate the above program
Algorithm/pseudocode
Start
Read the number of customers
For i = 0 To numberCustomers
Read the customer age
If age >= 18 Then
print "Access"
Else
print "Access deny. The customer is below 18."
Stop
a Flowchart to illustrate the above program
Comments
Leave a comment