Solve the following simple logic exercise

Assignment Help Database Management System
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

Reference no: EM13945501

Questions Cloud

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..

Reviews

Write a Review

Database Management System Questions & Answers

  Eplain how you can use a cve number to learn more about

1- when you should test web applications for known vulnerabilities? provide at least two examples using the sdlc

  Explain what information is available in relational database

Explain what information is available from relational database containing one relation with attributes Name, Employee identification number, and Address which is not available.

  Explain how big is a single interval in volts

How big is a single interval in volts. Receivers have no choice but to decode the the binary sample value at the center of the interval. So, what would the received voltage of the sample be

  Evaluate a dbms in terms of lock granularity

Suppose you are asked to evaluate a DBMS in terms of lock granularity and the different locking levels. Create a simple database environment in which these features would be important.

  When does oracle stop processing the query

How does Oracle process this query? That is, what does Explain Plan tell you about how the query is processed - how would you recognize that the results were not correct?

  Why data-warehousing greatest threat to individual privacy

Consider following opinion shared by some people: database management systems and data-warehousing techniques are the greatest threat to individual privacy in modern times. What is your opinion?

  Object-oriented databases

Object-oriented databases, Write a paper that describes the topic in detail. Include descriptions covering the following subject areas

  How important is the documentation of database environment

How important is the documentation of the database environment? Moreover, how do you think the advent of cloud computing has affected electronic data interchange (EDI)

  What basic steps are required for analyzing data

What basic steps are required for analyzing data using Microsoft® Access®? How could these steps help you diagnose and troubleshoot Microsoft® Access® errors?

  What is an example of a string constant

What is an example of a string constant? What is the assignment operator?  The symbols used to describe the logic of a program are known as _____

  Explain data flow diagram

Which module actually contains the logic to call the Update Credit File Module?

  Prepare table which is in first normal form

Prepare the example of table which is in first normal form but not in second normal form and example of a table which is in second normal form but not in third normal form.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd