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

  Explain planning proactive concurrency control methods

Evaluate which method would be efficient for planning proactive concurrency control methods and lock granularities. Assess how your selected method can be used to minimize the database security risks that may occur within a multiuser environment.

  Raci diagram for project resources

Write a 5-page plan (be sure to include a short description of the project used) that includes a list of project stakeholders, a RACI diagram for project resources, and a communication plan for one of the following project scenarios

  Database design and erd creation

Subject: We will discuss the logical design, data definition and relationship between the tables of database.

  Construct a diagram using rationale to map the arguments

Construct a diagram using Rationale to map the arguments about a moral claim that you have identified in the article/case study: Include all supporting and objecting claims.

  Design a suitable database system

Design a suitable database system with a suitable web based front end, which should include the following details :The web based interface should hab=ve necessary forms and fields to update student attendence,marks ,faculty profile,faculty workshops ..

  Determine impacts on revenue resulting

If you need to determine impacts on revenue resulting from an increase or decrease in prices and/or sales, the best option to use is a

  Use of dictionary-managed tablespaces in database

our current database uses dictionary-managed tablespaces. In running various performance tuning scripts, you have discovered that one of these tablespaces seems to have run out of space long before you calculated that it would.

  Assignment- database administrator for department store

Assignment: Database Administrator for Department Store, The Strayer Oracle Server may be used to test and compile the SQL Queries developed for this assignment. Your instructor will provide you with login credentials to a Strayer University maint..

  Write names-e-mail addresses for all customers from table

Show all the data in each of the four tables. Do not show foreign key columns. Write names and e-mail addresses for all customers who have had a stove repair that cost more than $50.

  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

  Planning & implementing a data warehouse project

ABC Industries is a diversified global organization that provides a variety of services, including financial and technical, and manufactures its own numerous products. Its manufacturing base is spread across the globe. ABC's production facilities ..

  Difference between e-r diagram and the data dictionary

E-R diagram specializes a logical graphic model and it doesn't contain any data type or data information in a database.

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