Answer to Question #58409 in Software Engineering for Faisal Alqahtani
Set the initial values of the following variables: radius=4, height=6, density=3
Calculate base_area = pi * radius^2
Calculate volume = 1/3 * base_area * height
Calculate mass = volume * density
What does the program calculate and is it clear from your comments?
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!