1(a) Write an algorithm/pseudocode for a movie rental company that wants to screen their customers from 18 years and above.
The system should be able to deny access to customers that appear below 18.
b. Draw a flowchart to illustrate the above program.
1(a)
Pseudocode:
Begin
Read the customerAge
If customerAge>= 18 Then
Display message: "Access"
Else
Display message: "Access deny. The customer is below 18."
End
b. Flowchart
Comments
Leave a comment