Question: Prompt the user to input an integer and a floating point number. (There can be two separate prompts and inputs.) The integer corresponds to the
Prompt the user to input an integer and a floating point number. (There can be two separate prompts and inputs.) The integer corresponds to the radius of a cylinder. The floating point number corresponds to the number of fret a car moved in 21.4 seconds. Using the integer input from the user, calculate the volume of the cylinder if the height in 7.5 units tall. Display the radius and volume to the screen. Using the floating point number from the user, calculate the speed of the car in feet/sec. Display the speed to the screen. Print out the results of the following two expressions 2(34 - 14/9) + 27/11 (48 - 27/36 - 23)/14 + 24 + 34/21 -.001937 (3.9823 2.1987/-12.3976 - 13.765 + -12.56 + 34.98/9.4567)/2.345/4.567 + 14.5/12.45 The output should look like the following: Please enter the radius of the cylinder (integer): 8 Please enter the number of feet: 110 A cylinder with radius = 8 and height = 7.5 has volume 1507.9644737231006 The car moved 110.0 feet with average speed of 5.1401886915887851 feet/sec. The first expression = The second expression = Your output can look different but there should be numbers where the occur. The results of each calculation should be mathematically correct. Remember to put the usual header at the top of the program and to submit via Canvas
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
