Reference no: EM13945501
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
What are the consequences of my reasoning
: State whether you believe that the public, in the form of government, has the right to impose restrictions on individual landowners. State the reasons for your beliefs and directly answer the following critical thinking questions after stating you..
|
Design a grade average program that will produce the numeric
: Design a grade average program that will produce the numerical grade average of test scores input by a user.
|
Evaluate your selected criminal justice policy
: Select a policy from the list of examples found in Chapter 1 of Criminal Justice Policy in Table 1.1 "Examples of Federal Criminal Justice Policies" (Mallicoat, 2014). In this discussion, you will evaluate your selected criminal justice policy by ..
|
What is the punishment
: 1. Who is responsible? 2. What is the punishment if any? 3. How could the accident have been prevented? The report should be done by each student. The report should include a cover page and 3-4 single-spaced pages.
|
Solve the following simple logic exercise
: 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
|
Reciprocating aircraft engine
: This activity will involve researching the operation or a major component of a reciprocating engine. Research concerning the operation of a reciprocating engine can be on valves, valve overlap, compression ratio, or the different types of horse p..
|
War can stimulate economic growth
: There is a longstanding belief that war can stimulate economic growth. In fact, many actually believe that it was all of the weapon production for World War II that got the United States out of the Great Depression. While this is a common belief, ..
|
Contrast economic effects of chosen international agreement
: Contrast the economic effects of your chosen international agreement on the developing world with the effects on industrialized countries.
|
Research paper aircraft turbine engine
: This activity will involve researching a concept or component related to the turbine engine lubrication system. The concept can be on the different types of synthetic oils used in turbine engines or an explanation of oil analysis. It can be on a c..
|