In this exercise, you modify the patio area program shown in Figure 15-7 in the chapter. If

Question:

In this exercise, you modify the patio area program shown in Figure 15-7 in the chapter. If necessary, create a new project named ModifyThis11 Project and save it in the Cpp8\Chap15 folder. Enter the C++ instructions from the figure into a source file named ModifyThis11.cpp. Change the filename in the first comment. Enter the instructions shown in Figure 15-11 in the chapter in a header file named ModifyThis11 Square.h. Change the filename in the first comment. Modify the patio area program so it uses the parameterized calcArea method. Test the program appropriately.

1 //Modified Patio Area.cpp 2 //Displays the area of a square patio 3 //Created/revised by  on  4 5 #include  6 #include

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: