求大神解答
You have several pictures of different sizes that you would like to frame. A local picture framing store offers two types of frames – regular and fancy. The frames are available in white and can be ordered in any colour the customer desires. Suppose that each frame is 1 inch wide. The cost of colouring the frame is $0.10 per inch. The cost of a regular frame is $0.15 per inch and the cost of a fancy frame is $0.25 per inch. The cost of putting a cardboard paper behind the picture is $0.02 per square inch and the cost of putting glass on top of the picture is $0.07 per square inch. The customer can also choose to put crowns on the corners, which cost $0.35 per crown.
Write a program that prompts the user to input the following information and then output the cost of framing the picture.
a)
The length and width, in inches, of the picture
b)
The type of the frame
c)
Customer’s choice of colour to colour the frame
d)
If the user wants to put the crowns, then the number of crowns.//有没有大神能帮我把这用Java编出来呀,越简单越好