University of Central Missouri C++ Program Project

Description

  1. Write a C++ program that reads in the length and width of a rectangle and prints the area and the perimeter of that rectangle. Area of a rectangle is equal to the length multiplied by the width. The perimeter of a rectangle is equal to the sum of all sides.
  2. Write a C++ program that calculates gross pay. The program should read in the number of hours worked and the hourly rate. If the employee has worked more than forty hours then they should receive time and a half for everything over 40 hours. Print out the gross pay for the employee.
  3. Write a C++ program that reads in three numbers and prints the largest of the three values.
  4. Write a C++ program that computes a 6% tax on a sale when the amount of the sale is input by the user. The program should print the total tax and then the total amount of the sale (original amount + tax).

To submit the homework you need to include only the following in a compressed zip file:

1.A .cpp with the source code for question one.

2.A .cpp with the source code for question two.

3.A .cpp with the source code for question three.

4.A .cpp with the source code for question four.

5.One Microsoft word file that contains images of your programs running. Please see lab 1 for how to create the images.

Get your college paper done by experts

Do my question How much will it cost?

Place an order in 3 easy steps. Takes less than 5 mins.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *