You are on page 1of 2

1. Create a flowchart that lets the customer avail a discount on the items they purchased.

Each
customer should purchase at least 50 items or items that cost at least PHP400 to get a 5%
discount on their purchase. (10 points)

Start

Input item and price

Compute item*price= total

Output “no Items >=50 or total


discount” >=400

Discount =total*0.05

Output total

End
2. Create a flowchart that calculates the total average score of a student. The teacher
will calculate the total average by getting the student’s grade in Math, English, Science,
Filipino, MAPEH, TLE, Values. If the student’s average is 98-96 the student will receive
“with highest honor” award, 95-93 average for “with high honor” and 92-90 average “with
honor” award. (10 points)

Start

Input Math, English, Science, Filipino, MAPEH, TLE, Values

Compute (Math + English + Science + Filipino + MAPEH + TLE + Values) /7

If student If student
average If student
average
>=96 or average>=93
>=90 or
>=98 or <=95
<=92

Output “with highest


Output “with high honor” Output “with honor” award.
honor”

End

You might also like