Suppose we wish to write a program to compute the area of a circle. The program would take the following form:
Prompt user for radius
Get the radius
Square the radius and multiply by PI
Display result
Consider the following links:
a) What do you need to know?
r) or back to The Math Class
x) or out to Math Functions
You see:
prog1
Links:
What do you need to know?
The Math Class
Math Functions