CISY 125 - Project 3
Reminder: You must work alone on this assignment.
Problem: The Karpet King store sells quality carpet. The store tracks
carpet in square yards. The customers that go to the store bring in their room
dimensions, length and width, in linear feet.
The Karpet King wants to have a program that can take the length and width of
a room in feet and have it calculate the area in both square feet and square yards.
Requirements:
- You must prompt the user for the length and width of the room.
- You must convert the length and width from feet to yards
- You must calculate the Area in Square Feet AND Square Yards
- Your output must match the sample runs below
Here is a sample run with the required output:
In the example below, the user will enter the values 10 and 20
Karpet King Area Calculator
Enter the length of the room? 10
Enter the width of the room? 20
Karpet King Area Calculator
Length(Yards) 3.333333
Width(Yards) 6.666667
Area Sq Feet 200
Area Sq Yards 22.22222
Here is another sample run with the required output:
In the example below, the user will enter the values 12 and 14
Karpet King Area Calculator
Enter the length of the room? 12
Enter the width of the room? 14
Karpet King Area Calculator
Length(Yards) 4
Width(Yards) 4.666667
Area Sq Feet 168
Area Sq Yards 18.66667
You are to do the following:
- Draw the Structure Chart(10%)
- Draw the Flow Chart(10%)
- Write the Pseudo Code(5%)
- Write the QBasic Program(75%)
You may find it difficult using the computer to produce the charts. You may find it easier
to handwrite items 1, 2, and 3.
Save the Program as PROJ03.BAS
Note: There is 3 feet in a linear yard.
Submitting the program
- Submit the QBasic code electronically (either hand in the In-Class Floppy, or e-mail the QBasic code)
- Submit the QBasic code on paper.
You must work alone on these Computer Projects. Cheating in any form will not be tolerated.