Question: C++ Programming: Make a simple program that asks a user two radii (in the fashion shown below). These radii define a torus (doughnut), where the
C++ Programming:
Make a simple program that asks a user two radii (in the fashion shown below). These radii define a torus (doughnut), where the first is the radius from the center to the center of the torus (R in the picture below) and the second is the radius defining the thickness of the torus (r in the picture below). r < R
Surface Area should be: 4 * pi^2 * R * r
Volume: 2 * pi^2 * R *r^2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
