Question: Instruction. Create a program. Let me see the code and the ouput 1. Write a program that gives a discount of 100 pesos to

Instruction. Create a program. Let me see the code and the ouput

 

Instruction. Create a program. Let me see the code and the ouput 1. Write a program that gives a discount of 100 pesos to a customer if the shirt bought is XL and the price is greater than 500 pesos; a discount of 50 pesos if the shirt is L and the price is greater than 400. 2. XYZ Company gives year-end bonus to its employees based on their number of years of service and their salary, using the following: Years of Service Bonus 1 10% of salary 2-5 20% of salary 6-10 50% of salary 11 above 75% of salary

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!