Write a pay-raise program that requests a persons first


1. Write a pay-raise program that requests a person's first name, last name, and current annual salary, and then displays their salary for next year. People earning less than $40,000 will receive a 5% raise, and those earning $40,000 or more will receive a raise of $2,000 plus 2% of the amount over $40,000. Use Sub Procedures for input and output, and a function procedure to calculate the new salary.

2. A fast-food vendor sells pizza slices ($1.75), fries ($2.00), and soft drinks ($1.25). Write a program to compute a customer's bill. The program should request the quantity of each item ordered in a Sub procedure, calculate the total cost with a Function procedure, and use a Sub procedure to display an itemized bill.

Solution Preview :

Prepared by a verified Expert
Programming Languages: Write a pay-raise program that requests a persons first
Reference No:- TGS01723886

Now Priced at $40 (50% Discount)

Recommended (94%)

Rated (4.6/5)