Design an algorithm determining the total meal charges

Assignment Help Computer Engineering
Reference no: EM131290596

Exercises & iLabs Logic and Design

Exercise

Given a simple business problem, design a solution algorithm that uses arithmetic expressions and built-in functions.

Assignment:

Your goal is to solve the following simple programming 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 about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing. Display all output using currency formatting (built-in Visual Logic function).

Lab Total Meal Purchases (Devry)

Scenario/Summary

Your goal is to solve the following simple programming exercise. You have been contracted by a local antique store to design an algorithm determining the total purchases and sales tax. According to the store owner, the user will need to see the subtotal, the sales tax amount, and the total purchase amount. A customer is purchasing four items from the antique store. Design an algorithm where the user will enter the price of each of the four items. The algorithm will determine the subtotal, the sales tax, and the total purchase amount. Assume the sales tax is 7%.

Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing. Display all output using currency formatting (built-in Visual Logic function).

Advanced (optional): Use a constant for the 7% sales tax.

Deliverables Total Purchases IPO Model Total Purchases Pseudocode Total Purchases Flowchart Total Purchases Output Sample.

Reference no: EM131290596

Questions Cloud

Satellite radios purchases electronic components : Reelrad Co. manufacturer of satellite radios purchases electronic components as modules. The reliabilities of components differ by supplier (see diagram, below). Suppose that the configuration of the components is given by:
The politics and poetics of racial identity : How does the text tackle issues such as racial and ethnic identity; racism, prejudice and discrimination; social inequalities; and intergroup relations and does the text deal with intersectionality, where race or ethnicity Is also linked to class,..
Write a project status memo which reports on current status : Write a Project Status Memo which reports on the current status of your major course project.- Identify one or more possible sources for primary research.
How are treasury bills sold : How are Treasury bills sold? How do competitive and noncompetitive bids differ? Why is it so important for an economy to have fully developed financial markets? What is the free-rider problem? Describe some situations that this problem creates.
Design an algorithm determining the total meal charges : 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.
Distinguish between the front office and the back office : Explain why it is important to keep the front and back offices separate ? Explain why the traditional auditing function cannot serve as the risk management function ? Why is hedge accounting used and how can it be misused?
Design an application that it will prompt a user : You will need to design an application that it will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed.
Well-defined codes of ethics : A number of professional public relations groups have very well-defined codes of ethics. What are these codes seeking to accomplish? What are some of the common characteristics of them?
What is meant by independent risk monitoring : Explain the advantages for senior management having detailed, written policies for financial risk management? Define and explain what is meant by independent risk monitoring. How can senior management improve independent risk monitoring?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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