Create aWindows application for purchasing floor covering. Allow the length and width (feet and inches) of a
Question:
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.
Step by Step Answer:
C# Programming From Problem Analysis To Program Design
ISBN: 9781285096261
4th Edition
Authors: Barbara Doyle