Question: Question 1 Write algorithm for a program that will set length of a rectangle to 25 and set width to 10. Then calculate and print
Question 1 Write algorithm for a program that will set length of a rectangle to 25 and set width to 10. Then calculate and print the area and perimeter of the rectangle. Note that values for length and width (25 and 10) are assigned rather than being inputted. Submit printout - with your name on top. Question 2 Implement the algorithm above in Java Submit printout of source code - with your name on top. Also a screenshot of ONE run of your program. Question 3 Write algorithm for a program that will set radius of a circle to 10. Then calculate and print the area and perimeter of the circle. Set it to be 3.14 and just used it as a literal rather than assign to a variable. Note that value for radius (10) is assigned rather than being inputted. Submit printout - with your name on top. Question 4 Implement the algorithm above in Java Submit printout of source code - with your name on top. Also a screenshot of ONE run of your program. Question 5 Write algorithm to find the speed of a runner who runs a distance of 14 km in 45 minutes. However, the speed must be in miles per hour. There are 60 minutes in 1 hour and there are 1.6 kilometers in 1 mile. Note that values for distance (14 km) and duration (45 minutes) - are assigned rather than being inputted. Submit printout - with your name on top. Question 6 Implement the algorithm above in Java Submit printout of source code - with your name on top. Also a screenshot of ONE run of your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
