Program
2 -
Maximum Points = 50
The
purpose of this assignment is to design and implement a Visual Basic app for
Windows’ mobile devices that uses a GUI that makes use of conditional and
looping statements to allow for data validation and multiple data entry.
REQUIREMENTS DOCUMENT
Due Date: |
|
Application title: |
|
Purpose: |
The
|
Program Procedures: |
From a
window on the screen, the server enters the table number, and takes the order
of each customer (choices include Miso Ramen, Kitsune Udon, and Zaru Soba
noodles with hot tea optional). The program calculates the total cost for the
food and drinks, the tax on the food and drinks, a service charge, and the
final total and then displays these values. |
Algorithms, Processing, and
Conditions: |
1. The store
name and store picture will be displayed at all times. 2. The
server must be able to enter the table number along with each customer’s order
of each of the three kinds of noodles [hint – use radio button] and whether
the customer wants hot tea [hint – use a check box]. 3. After
the server enters the table number 4. The
program displays the number of each type ordered along with the individual
costs, the food & beverage cost, and the tax. a. The customer is then asked to select
the service charge from a drop down list (as shown below.) b. The service charge and final total are
then displayed. 5. The
individual cost, the tax, service charge, and final total should appear in currency
format. 6. The
costs are: Miso Ramen = $5.50, Kitsune Udon = $6.25,
and Zaru Soba = $5.95. Hot tea is $1 each. 7. The tax
rate is 7% is applied to the total food and beverage cost. 8. The
final total is calculated by adding total food and beverage cost, the tax,
and the service charge. |
Notes and Restrictions: |
1. The
server can clear the order with a clear button. 2. The
server can close the application with an exit button. 3.
Non-numeric and negative values should not be accepted. |
Comments: |
Use your
own picture (from the web) for the shop. |
Draw a template for the application
and write a Use Case Definition BEFORE you start coding.
Test your program frequently and TEST WHAT YOU
SUBMIT.
(Due before
NOTE: Documentation must include
A) Program block:
‘******************************************************************************
‘ PROGRAM: program
name
‘ AUTHOR: your name (give credit for any code that
is not yours)
‘ DATE: date of
creation
‘ PURPOSE: detailed
description of program
‘******************************************************************************
B) Every subroutine
‘******************************************************************************
‘detailed description of the subroutine’s function
‘ (give credit for
any code that is not yours)
‘******************************************************************************
Grades are determined using the following scale: