Answer to Question #186409 in Algorithms for Andrews Seyram

Question #186409

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


1
Expert's answer
2021-04-28T04:24:56-0400

 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





Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS