Pseudocode algorithm for a computer store

Assignment Help Basic Computer Science
Reference no: EM131514151

Write a pseudocode algorithm for a computer store that inputs the type of customer and the amount of the purchase, and will print the discount amount and the amount of money owed. Assume the store gives a 5% discount for all students on purchases less than $50, a 10% discount to students whose total purchase is between $50 and $99, and 15% on purchases of $100 or more. Nonstudents do not get a discount. Use structured pseudocode as demonstrated in the lectures for code, ensure that all variables are declared, prompt the user for the appropriate input, and display a meaningful output message. Make sure that the total purchase is greater than 0.

Reference no: EM131514151

Questions Cloud

History of the web protocol on the internet : While the history of the web protocol on the Internet can be organized in many ways, one option is to summarize the development of web infrastructure.
Recommend the type of user for which the ipad is best suited : Recommend the type of user for which the iPad is best suited. Recommend the type of user for which the Galaxy Tab is best suited.
Why you believe such diversity of approaches exists : Propose at least one additional reason why you believe such diversity of approaches exists. Provide support for your recommendation.
Calculate the amount of work done to dissociate a system : Calculate the amount of work done to dissociate a system of three charges of 1µC, 1µC and 4µC placed on the vertices of an equilateral triangle of side 10 cm.
Pseudocode algorithm for a computer store : Write a pseudocode algorithm for a computer store that inputs the type of customer and the amount of the purchase
Explain the trends that you observed with each company : Explain the trends that you observed with each company. To what could you attribute the increases or decreases in each company's trend(s)?
Different types of brute force attacks : Write a 1- to 2 page paper in which you present the two (2) different types of brute force attacks.
Compute the minimum time between adjacent pulses : Describe CSMA/CA protocol for multiple access used by WLANs. Compute the minimum time between adjacent pulses. Compute the maximum time between adjacent pulses.
Summarize the footprinting analysis : Summarize the footprinting analysis of the company you selected.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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