Display the total amount due

Assignment Help C/C++ Programming
Reference no: EM131100257

A retail store is having a customer appreciation sale. Depending on the total dollars purchased, the customer could receive a discount on his or her total purchases. You are to develop pseudocode that will obtain the total dollars purchased from the user, determine the discount percentage and display the total amount due. When the purchases are more than $200, the discount is 20%. When the purchases are $200 or less , the discount is 10%.

Reference no: EM131100257

Questions Cloud

Explain the rublevs place in medieval russia : Watch Andrei Rublev and write a one-page paper explaining Rublev's place in medieval Russia. Watch either Ivan the Terrible part. 1 or Ivan the Terrible part. 2 and write a one-page paper in which you analyze the historical accuracy of the film.
Locate an article about object modeling : Search the Web for online "trade magazines" related to computers and technology. Locate an article about object modeling. To be considered current, the article must have been published within the last 90 days. Anything older is considered out-date..
Write as if you are directly speaking to them : Respond to the below person's DQ. Write as if you are directly speaking to them. Provide additional insight or thoughts or offer a different approach.
What is the magnitude of the maximum gravitational force : at what rate would it accelerate towards the surface, assuming Moon B has no atmosphere?
Display the total amount due : You are to develop pseudocode that will obtain the total dollars purchased from the user, determine the discount percentage and display the total amount due. When the purchases are more than $200, the discount is 20%. When the purchases are $200 o..
Power of the exponent using a loop : Ask the user for a base (float) and a positive exponent (int). Calculate the base raised to the power of the exponent using a loop. Display the result.
What is the period of the hoop : The moment of inertia of the hoop for the rotational axis passing through the nail is I = 2mr2. What is the period of the hoop?
Who is least likely to become a crime victim : The view that becoming a criminal is a learning process in which potential delinquents master skills that enable them to counterbalance conventional values and drift back and forth between illegitimate and conventional behavior is known as _____.
Are there alternatives to an overlay network : 1. Explain how H.323 sets up and tears down VoIP calls. 2. Are there alternatives to an overlay network? If so, please discuss them and provide examples.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Print the list of runners and times as example below

Write a c++ program as follows. Print the list of runners and times as example below. Then print the name of the fastest runner and his/her time (in hours and minutes). Also, find the second fastest runner. Print the name and his/her time (in hour..

  Different ways to represent a birthday register

Describe two different ways to represent a birthday register, i.e. the names of your friends and their birth dates. Assume that none of your friends have the same name, but that it is possible for two or more of them to share the same birthday

  Implement a function to recursively

Implement a function to recursively determine if a word is a palindrome. A palindrome is a word, phrase, number, or other sequence of symbols or elements, whose meaning may be interpreted the same way in either forward or reverse direction.

  Define a base class to use for the entire program

Your company, Datamax, Inc., is in the process of automating its payroll systems. Your manager has asked you to create a program that calculates overtime pay for all employees.

  Write a function that returns a number

Write a test program that prompts the user to enter a phone number as a string. The input number may contain letters. The program translates a letter (upper- or lowercase) to a digit and leaves all other characters intact

  Generate a set of 75 random integers in the range -26 to + 4

Write a program that will generate a set of 75 random integers in the range -26 to + 42. The program

  What is the minimal solution

Given the following linear programming problem: What is the minimal solution?

  Write a complete c++ program

The main program will read in a parameter value n (read this in main). Then it will call a function read2arrays (details below) to read lists of grades into two arrays, which the main program will call test1 and test2 (or some other names of your ..

  rewrite that statement in a more readable style.

Give an example statement in C, C++, or Java that is particularly unreadable. Rewrite that statement in a more readable style.

  Write c++ statements that remove all the items

write C++ statements that remove all the items from storeBag and place them into one of two new bags, as follows: Place all occurrences of bread and eggs into fragileBag, and all other items into groceryBag.

  Represent an instruction supported by simpletron

Implementation contains a Simpletron class and several supporting Instruction classes

  Atm system code two classes with related attributes

Related to ATM system code two classes with realted attributes and operations!in C++

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