Be sure to think through the logic then develop the ipo


Assignment:

Your goal is to solve the following simple logic exercise. You have been contracted by a local restaurant to design an algorithm determining the total meal charges. The algorithm should ask the user for the total food purchase and the tip percent. Then, the algorithm will calculate the amount of a tip, a 7% sales tax, and the total meal charge (including tip). The food purchase, sales tax, tip amount, and total meal charge will need to be displayed to the customer.

Be sure to THINK through the logic, then develop the IPO Chart using a Microsoft Word table. Develop the flow chart using Microsoft VISIO. Then write the pseudocode in Microsoft Word. The IPO table and the pseudocode may be included in one MS Word document

Rubric:

When completed upload the following to the Week 2 Dropbox.

1) IPO Chart (Word document)

2) The VISIO Flowchart

3) The Pseudocode (Word document).

Point distribution for this exercise:

Deliverable

IPO Chart

Pseudocode

Flowchart

Total Points:

 

 

 

 

PrivateSubbtnCalcPayment_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs) HandlesbtnCalcPayment.Click

'Declare variables

DimdblTotalFoodPurchaseAsDouble

DimdblSalesTaxAsDouble

DimdblTipPercentAsDouble

DimdblPaymentAsDouble

'Get total food purchase, sales tax, tip percent

dblTotalFoodPurchase = txtTotalFoodPurchase.Text

dblSalesTax = txtSalesTax.Text

dblTipPercent = txtTipPercent.Text

'Call Pmt function

dblPayment = Pmt(dblTotalFoodPurchase, dblSalesTax, dblTipPercent)

'Display payment

lblAnswer.Text = "The payment is "& Format(dblPayment, "currency")

EndSub

EndClass

Solution Preview :

Prepared by a verified Expert
Database Management System: Be sure to think through the logic then develop the ipo
Reference No:- TGS01254802

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)