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.
Pseudocode:
Begin
Get the customerAge
If customerAge>= 18 Then
Display message: "Access"
Else
Display message: "Access deny. The customer is below 18."
End
Flowchart
Comments
Leave a comment