Project 2
For this project I want you to create a JustBASIC application for Sam's Small Business Products. The application needs to have the capability of having the user enter the following information:
| |
Full Name (In one text box) |
Quantity of a Product |
|
| |
Address |
Price for the Product |
|
| |
City |
Description of the Product |
|
| |
State |
Credit Card Number (Tell the user to not put any dashes) |
|
| |
Zip |
Credit Card Expiration Date |
|
I know you would not normally have the customer enter the price, but to keep your code less complicated we are going to do it this way.
After the customer enters this information, you need to give them a summary of their order. Something like this:
Frank, thanks for your order. We will ship 1 stapler to the following address:
Frank Jones
123 Jones Rd.
Jonesborough, TN 12345
Here is your order summary:
1 Stapler
Sub Total: $2.50
Tax Amount: $ .19
Grand Total: $2.69
As you can see you you will need to do calculations with what the user entered. You will need to use a tax rate of .075. You should also notice that Frank is by itself on the first line. There is no Jones. You will need to break the first and last name apart. Here is a website that shows you how to do this:
http://wikihost.org/wikis/ortise/wiki/tutorial_01
Good Luck and Have Fun!!!