Total cost for buying the books

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

Write a C++ program that asks for the title of the book, the price of the book and the quantity to buy for the book. Print out the title of the book. If a 20% discount is provided for buying the book, calculate and print out the discounted price for the book. Also, calculate and print out the total cost for buying the books at the discounted price.

Reference no: EM13907349

Questions Cloud

Calculate and displays the number of slices of pizza : The manager of a pizza palace wants a program that calculate and displays the number of slices of pizza into which a circular pizza can be divided . The manager will enter the radius of the entire pizza.
Invests the proceeds in marketable securities : If Southwick reduces their inventory by $500,000 through more efficient inventory management and invests the proceeds in marketable securities what happens to the Current, quick and debt to equity ratio?
About the required rate of return : Stock R has a beta of 2.4, Stock S has a beta of 0.65, the expected rate of return on an average stock is 13%, and the risk-free rate is 6%. By how much does the required return on the riskier stock exceed the required return on the riskier stock exc..
Compound interest on the unpaid balance : Mr. Smith, Esq. purchased a new house for $90,000. He paid $30,000 upfront and agreed to pay the rest over the next 20 years in 20 equal annual payments that include principal payments plus 11 percent compound interest on the unpaid balance. What wil..
Total cost for buying the books : Print out the title of the book. If a 20% discount is provided for buying the book, calculate and print out the discounted price for the book. Also, calculate and print out the total cost for buying the books at the discounted price.
How much must you deposit each year to obtain your goal : (Annuity Payments) To pay for your child’s education, you wish to have accumulated $14,000 at the end of 11 years. To do this you plan to deposit an equal amount into the bank at the end of each year. How long will it take to pay off a loan of $54,00..
Darnell and janine work for a large lab company : Darnell and Janine work for a large lab company in an appointment office
Feature for entreing information about a new train : Write a program in C++ to maintain the information for a Train station regarding the arrival and departure of trains in that station. Program should have the feature for entreing information about a new train arrived or departed at any point of ti..
The risk-free rate and beta remain unchanged : Yonan Corporation's stock had a required return of 11.5% last year, when the risk-free rate was 5.5% and the market risk premium was 4.75%. Now suppose there is a shift in investor risk aversion, and the market risk premium increases by 2%. The risk-..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Each person in your team will complete one sequence

each person in your team will complete one sequence problem problem 1 or 2. one selection problem problems 3 4 or

  Write c program that will input two values from the user

write c program that will input two values from the user with a prompt ? that are a value and a base with which you

  Execute tests and repetitions

Read data from standard input and store them in an array, Execute tests and repetitions

  Program that prints the statement

Write a program that prints the statement "Learning new topics is Fun!" in a function called writeThoughts that is called by the main function.

  Write a program to display the total salary for assistant

Write a program to display the total salary for assistant professors, associate professors, full professors, and all faculties, respectively, and show the average salary for assistant professors, associate professors, full professors, and all facu..

  What is difference between while statement and do statement

What is the relationship between an event-listener interface and an event-adapter class? What is the difference between a while statement and a do statement?

  How to call a function from main

Call a function from main(), passing one value to it. Return TWO values, both the square of the number and the number to the power of three.

  Number of new entries of parts in the application

The application should be able to count the number of automobile parts sold every week depending upon the number of new entries of parts in the application. If a part is not sold for more than six months after its date of manufacture, the applicat..

  Reverse the order of the characters in the string

Write a program which will perform the following " using MARS - Assembly language"

  Amanda and tyler opened a business

Amanda and Tyler opened a business that specializes in shipping liquids, such as milk, juice, and water, in cylinderical containers. The shipping charges depend on the amount of liquid in the container. (For simplicity, you may assume that the con..

  Write a function that compares at most n bytes

Write the following function that compares at most n bytes beginning with s2 with the cor- responding bytes beginning with s1, where n is the number of bytes that s2 has to be incremented before it points to the null character \0.

  Hierarchical control using player/stage simulator

In the Nested Hierarchical Controller, the PLAN module consists of a Mission Planner, a Navigator, and a Pilot. The Pilot connects with the ACT module to execute the drive and steering commands that cause the robot to move along a path segment.

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