In this exercise, you modify the program from Lab 15-4. If necessary, create a new project named
Question:
In this exercise, you modify the program from Lab 15-4. If necessary, create a new project named ModifyThis12 Project and save it in the Cpp8\Chap15 folder. Copy the instructions from the Lab15-4.cpp file into a new source file named ModifyThis12.cpp. Change the filename in the first comment. Also copy the instructions from the Parallelogram.h file into a new header file named ModifyThis12.h. Change the filename in the first comment. Modify the program so it also asks the user to enter the paving cost per square yard. The program should now also display the cost of paving the parking lot. Test the program using 900 feet as the length, 650 feet as the height, and $10 as the cost per square yard. (The cost is $650000.)
Step by Step Answer:
Microsoft Visual C# An Introduction to Object-Oriented Programming
ISBN: 978-1337102100
7th edition
Authors: Joyce Farrell