Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

(The box problem) You have been given a flat cardboard of area, say 70 square inches,to make an open box by cutting a square from each corner and...

(The box problem) You have been given a flat cardboard of area, say 70 square inches,to make an open box by cutting a square from each corner and folding the sides, see Figure 6-24. Your objective is to determine the dimension, that is, the length and width,and the side of the square to be cut from the corners so that the resulting box is of maximum length.

Figure 6-24: Cardboard boxWrite a program that prompts the user to enter the area of the flat cardboard. Theprogram then outputs the length and width of the cardboard and the length of the sideof the square to be cut from the corner so that resulting box is of maximum volume.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question