Please enable JavaScript.
Coggle requires JavaScript to display documents.
Tin needed for tin can (Problem: Determine the number of square…
Tin needed for tin can
Problem
:
Determine the number of square centimeters of tin needed to make a tin can.
Math Info
: Add the square of the radius of the can to the product of the radius and height of the can, and then multiply this sum by 6.283.
The Program will:
1.
Request the radius and height of a tin can in centimeters as user input.
2.
Execute a function to calculate the number of square centimeters required to make the can.
Must pass inputs to the function for calculation
3.
Display the return value of the function.
Square of the Radius
+
Product of
Radius of can
Height of can
This Number
X
6.283
Required number of square centimeters of tin needed
First Steps
Get inputs from user
Pass input to function
Execute Function