0% found this document useful (0 votes)
5 views

Flowchart Example 3

Uploaded by

merryfil.adolfo
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Flowchart Example 3

Uploaded by

merryfil.adolfo
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Write a flowchart that will compute customer’s payment.

Customers’ payment can have


discounts or interest based on the mode of payments. The following are the mode of
payments:
Mode of Payment Discount/Interest
1 10% discount (Cash)
2 5% discount (Two Installment)
3 5% Interest (Three-Installment)
None of the above Invalid Input

Input: mode, amt


Process:
 mode==1
o pay = amt - (amt *.10)
 mode==2
o payt = amt - (amt *.05)
 mode==3
o pay = amt + (amt *.05)
Output: pay
Start
amt=1000 mode=2

mode ,
amt,pay

Get amt, mode

True False
mode
==1

pay=amt-(amt*.10) True False


mode
==2

pay=amt-(amt*.05) True False


mode
==3

Invalid Input
pay=amt+(amt*.05)

Stop

pay

You might also like