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

  Draw a diagram 0 dfd for the order system

Draw a decision tree that describes the merchandise inventory management process.

  Identify potential sales and department store transactions

Identify the potential sales and department store transactions that can be stored within the database. Design a database solution and the potential business rules that could be used to house the sales transactions of the department store

  Normalization procedures suggested by shome and cornell

These are normalization procedures suggested by Shome and Cornell. EQ Tools program permits any of these normalization (or scaling) approaches.

  Create a database of all seats and flights

Create a database of all seats and flights and keep track of sold/unsold of all 4 categories of seats - Show cost of chosen seat/flight combo options

  What are some reasons for studying file systems

What are the advantages of having the DBMS between the end user's applications and the database?

  Explain the diference between hash indexes and b+- ree index

Explain the difference between Hash indexes and B+- ree indexes. In particular, discuss how equality and range searches work, using anexample.

  Spreadsheet and database

Explain the differences between the storing data in Access and Excel. Why you would use a spreadsheet over the database?

  Design relational database using entity-relationship diagram

Design a Relational Database using Entity-Relationship Diagram (ER-D) and design a Relational Database by Mapping Entity-Relationship Diagram (ER-D) into Relational Models.

  Create an employee database

Create a report that contains the above data - be sure to include a Hampton University logo in your report.

  Design a high-level conceptual view of a data warehouse

Design a high-level conceptual view of a data warehouse using Microsoft Visio that shows the following: Integration layers and The data warehouse

  Why triggers are significant in database systems

What are triggers used for, and why are they significant in database systems? Give an example of situation where a trigger would be appropriate. What would implementation of this trigger look like?

  Explain the primary and foreign keys for each table

Instructions- This assignment builds on your first two assignments using Access and asks you to consider the process of designing, implementing, and converting data.

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