Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create the following programs: a 1) Allow a user to input integer values of length and width and print to the user the area of
Create the following programs: a 1) Allow a user to input integer values of length and width and print to the user the area of a rectangle 2) Allow a user to input 3 float value radii and print to them the circumference of a circle, area of a circle, and volume of a sphere for each of the 3 input values. 3) Allow a user to input an angle (0-360 degrees). Print out the x and y components of the unit circle to the user. REMEMBER TO COMMENT!!!!! Examples: Italicized bold text is user entered values Part1 Please Input a Length (m): 4 Please Input a Width (m): 5 The Area of the Rectangle is 20 square meters. Part2 Please Input 3 radii with a space in-between: 1 2 3 The Circumference of Circle, Area of Circle, and Volume of Circles are as follows: Radius 1: 6.283, 3.142, 4.189 Radius 2: 12.566, 12.566, 33.510 Radius 3: 18.850, 28.274, 113.097 Part3 Please input an angle between 0 and 360 degrees: 45 The x component is .707 The y component is .707
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started