Write a program about a book order

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

Book Purchase Invoice -

Write a C++ program that asks for the following information about a book order from the console:

  • Title
  • Author
  • ISBN (hint: careful about what data type to use)
  • Price
  • Quantity (number of books to purchase)

Make use of the following data types:

  • C++ string
  • double
  • int

Additional Requirements:

  • Assume the tax on the total price of the books is 7%
  • Charge a $2 per book fee for each book over the quantity of 5. For example, if you order 5 books there is no extra fee, but if you order 7 there will be $4 in fees.
  • Tax should not be calculated on the fees.

Reference no: EM131635190

Questions Cloud

What is the expected time to pain relief for a participant : What is expected time to pain relief for a male following treatment? What is the expected time to pain relief for a participant aged 50 following treatment?
Explain the impact of the electoral college : Explain the impact of the Electoral College and defend why it should be modified, but not kept as it is currently written or abolished.
Define levels of coverages that are offered to employees : What are some of the reasons organizations/employers have different levels of coverages that are offered to employees
What type of government policies can encourage neighborhoods : When a neighborhood is cleaned up and kept neat, there are a number of positive spillovers: higher property values, less crime, happier residents.
Write a program about a book order : Write a C++ program that asks for the following information about a book order from the console: Title and Author
Condenses to liquid at the normal boiling point : What is the change in entropy in the system when 68.3 g of C2H5OH(g) at 1 atm condenses to liquid at the normal boiling point?
What source of information did you use in making decision : Give an example of a recent purchase in which you used extensive problem solving. What source of information did you use in making the decision?
Explain combined in consumer-driven health plans : What two elements are combined in consumer-driven health plans. Explain and All sources should be referenced with citations included
Chinas buildup of national defense : Is the US defense strategy toward this conflict being dictated via centralization or decentralization? How /Why?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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