Demonstrate your ability to use proper commenting by writing a short program (a sequence of steps) that performs the following tasks below.
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?
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments