Create aWindows application for purchasing floor covering. Allow the length
and width (feet and inches) of a room to be entered. Be sure to include program
statements that will keep your program from crashing if they enter nonnumeric
characters for the room dimensions. Have a control that displays
different types along with the prices of floor covering. Using the tab control,
provide selections such as Hardwood, Carpet, and Laminate. On each tab allow
the user to select a type and price. Include, for example, options like Oak,
Maple, Walnut, and Cherry Hardwood floors with prices such as $34.95 per
square yard for Oak and $41.95 per square yard for Cherry. After the users enter
their room dimensions and selects the floor covering and price, display the total
cost to cover the room. Include an option to clear selections. Place both the
type of floor covering and the price in a single control, such as a ComboBox
and use string manipulation techniques to strip the price out of the string.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.