Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Programming questions

Question

Evaluate each of the following. 12 + 6 3

Answered: 1 week ago

Question

What is denormalization?

Answered: 1 week ago

Question

What is the difference between production and test systems?

Answered: 1 week ago