Question: In Visual Studio; Create a C++ Windows Console project called Square In Square, add a C++ source file called main.cpp. Copy the source in the
In Visual Studio; Create a C++ Windows Console project called Square In Square, add a C++ source file called main.cpp. Copy the source in the attached file Pr6-27.cpp into main. This is the same code as Program 6-27 of our book. Run the program. Modify the program so that it keeps asking for an integer and a floating point number and displaying their squares. It quits when the user enters -1 as the integer. Upload your main.cpp file (typically in Documents\Visual Studio 2013\Projects\Square\Square) to this activity for credit.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
