To see how the four steps of the software development procedure discussed in Section 1.7 can be applied in practice, you apply them to the following simple programming problem:
The circumference, C, of a circle is given by the formula C = 2ðr,
where ð is the constant 3.1416 (accurate to four decimal places)
and r is the radius of the circle.
Using this information, write a C++ program to calculate the circumference
of a circle that has a 2-inch radius.
1 answer
Read the four steps of the software development procedure in Section 1.7. If you understand it, you should be able to answer the problem