. I have no ideal on how to start this one on control structures: You have been given a contract for making little conical cups that are used for bottled water. Thes cups are to be made from a circular waxed paper die of 4 inches in radius by removing a sector of length x. By closing the remaining part of the circle, a conical cup is made. Your objective is to remove the sector so that the cup is of maximum volume. Write a program that prompts the user to enter the radius of the circular waxed paper. The program should then output the length of the removed sector so that the resulting cup is at maximum volume. Calculate your answer to two decimal decimal places.
Java
You have been given a contract for making little conical cups that are used for bottled water. Thes cups are to be made from a circular waxed paper die of 4 inches in radius by removing a sector of length x. By closing the remaining part of the circle, a conical cup is made. Your objective is to remove the sector so that the cup is of maximum volume. Write a program that prompts the user to enter the radius of the circular waxed paper. The program should then output the length of the removed sector so that the resulting cup is at maximum volume. Calculate your answer to two decimal decimal places. Thank you
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images