Question: Programming Challenge # 1 1 : Create a C + + program with two functions: main ( ) and Demonstrate ( ) . The program

Programming Challenge #11:
Create a C++ program with two functions: main() and Demonstrate().
The program must read data from a text file.
The data must be in a matrix format with three columns and an unknown number of rows.
Each row of data represents a point, where the first number is the x coordinate, the second is the y coordinate of the center of the circle, and the third is the radius of the circle.
The program must read this data and display the circles on the graphics screen.
Demonstrate the functionality of the program with two sets of example data:
A file whose data defines an Olympic symbol made of five rings.
A file whose data defines seven circles with a common center.
Show the output to your instructor to check the performance of the program. Explain how you split the functionality of the program between the two functions. This means that you need to explain what the Demonstrate() and main() functions do in your program?
Programming Challenge # 1 1 : Create a C + +

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!