John Doe
BASIC Programming

Period 1

Ch. 3, Problem 1, p. 103

Specs


The Material Problem

Write a program to calculate the cost of buying material for a dress. Use a textbox to enter the number of yards of material. Use a label to display the final cost. Use $8.50 as cost per yard of the material. The final cost is the cost per yard times the number of yards. Don't include the dollar sign in the cost per yard.

Additional Specs

Save the form and project as "Ch3Prob1JD". The program is due on Monday, September 28 at the end of class.

Pseudocode


- prompt the user to input the number of yards of material
- user inputs the number of yards of material
- multiply the number of yards by 8.5
- display the final cost with an output prompt

Code

FinalCost = NumYards * 8.5