Submitted by: Submitted by tagos
Views: 176
Words: 379
Pages: 2
Category: Science and Technology
Date Submitted: 11/09/2013 11:01 AM
Additional Checkout Application Project
Input-Process-Output Chart
Input | Process | Output |
Item_NumberItem_NameItem_priceItem_Quanity | Get User Input | Item_NumberItem_NameItem_priceItem_Quanity |
Item_priceItem_Quanity | Compute Discount | Subtotal |
Subtotal7.5% | Compute Tax | Tax |
SubtotalTax | Compute Total | Total |
SubtotalTotalTax | Display Subtotal and Total | SubtotalTotalTax |
Main Module
Main Module
Display Total
Display Total
Compute Total
Compute Total
Compute Tax
Compute Tax
Compute Subtotal
Compute Subtotal
Compute Discount
Compute Discount
User Inputs
User Inputs
Application-Level Requirements List
1. Inputs
2. Compute Item Totals
3. Compute Discounts
4. Compute Subtotal
5. Compute Tax
6. Compute Totals
7. Display Total
Flow Chart
Start
Start
“What is the Item Number?”
“What is the Item Number?”
Item_Number
Item_Number
Question
Question
“Y”
Tax=Subtotal*.075
Tax=Subtotal*.075
“N”
“What is the Name of the Item?”
“What is the Name of the Item?”
Question
“Y/N”
Question
“Y/N”
Total=subtotal+tax
Total=subtotal+tax
Item_name
Item_name
“Subtotal:” Subtotal
“Tax:” Tax
“Total:” Total
“Subtotal:” Subtotal
“Tax:” Tax
“Total:” Total
“Is there more? Y/N"
“Is there more? Y/N"
“What is the Item Price?”
“What is the Item Price?”
End
End
Item_Quanity
Item_Quanity
Subtotal=Item_total*.9
Subtotal=Item_total*.9
Item Number
Item Number
Item_Total=Item_Price*Item_Quanity
Item_Total=Item_Price*Item_Quanity
Subtotal=Item_Total
Subtotal=Item_Total
>4
<=4...