You are on page 1of 4

CS131L

Name:King Reiner Antonio Prof: Mr. Jeremias C. Esperanza

Assingment.
Problem1. Create program NetPrice of a product after imposing a 10% discount Sample Input/output: Enter Costumer Name: Juri Enter unit price: 25.00 Enter quantity: 3.0 This is the result, Juri Total price is 7.50 Netprice is 67.50 Answer. 1.

1.Input/Output

Problem2. Create Program Tuition that gives student a pricelist if he pays on a different payment. 2-installment impose a penalty of 5% 3-installment impose a penalty of 10% Cash Payment discounts 10% Sample input/output Enter student name: Kristine Enter price per unit: 300.00 Enter number of units: 20.0 Kristine your payment schedule is: 2-installment: 6300.00 3-installment: 6600.00 Cash: 5400.00 Answer.2.

2.Input/Output

You might also like