0% found this document useful (0 votes)
83 views2 pages

Assignment-1 Zapata

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views2 pages

Assignment-1 Zapata

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment

Document CYS Course Code


Assignment BSME 2-1 CMPE 011
Name Instructor Date
JOHN DWYNE B. ZAPATA ENGR. JAN RUELLE TEÑA SEPTEMBER 27, 2024

Problem statement 1:
ReadMe Bookstore offers a 15% discount for each revision book. Calculate and display the price
that the customer should pay.

IPO ANALYSIS
INPUT PROCESS OUTPUT

Original Price Discount = Original Price x 0.15 (Discount Rate) Final Price
15% or 0.15 (Discount Rate) Final Price = Original Price – Discount Amount (Discounted)

PSEUDO-CODE

Start
1. Input original price
2. Input discount rate
3. Compute discount amount:
discount amount = original price x discount rate
4. Compute final price:
final price = original price – discount amount
5. Display final price (discounted)
End

Page 1 of 2
Assignment
Document CYS Course Code
Assignment BSME 2-1 CMPE 011
Name Instructor Date
JOHN DWYNE B. ZAPATA ENGR. JAN RUELLE TEÑA SEPTEMBER 27, 2024

Problem statement 2:
ABC Corporation gives a bonus to Juan based on his sales. The bonus is 5% of the sales.
Calculate Juan’s bonus.

IPO ANALYSIS
INPUT PROCESS OUTPUT

Sales Amount Bonus = Sales Amount x 0.05 (Bonus Rate) Juan’s Bonus
5% or 0.05 (Bonus Rate)

PSEUDO-CODE

Start
1. Input sales amount
2. Input bonus rate
3. Compute bonus:
bonus = sales amount x bonus rate
4. Display Juan’s bonus
End

Page 2 of 2

You might also like