Assignment A

Problem A1

Use an Interactive Development Environment (IDE) to build, correct errors, and execute your program.

Type a copy of the following program.
Replace the name John Smith (Jack) with your first name, last name, and, if you use one, your nickname in parentheses.

Save the program as ProblemA.cpp Compile it, correct any errors and run.
Use the following test data:
3.14159 and 2

Copy and paste the execution results under the line   /* Execution Results:

Upload the completed program with the execution results into Canvas.

Assignment A code