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

  Fill up the tables

Fill up the tables and show ALL the steps required to solve each problem below. You must convert the entire IP address to binary.

  Write a function that moves the largest item

Write a function that moves the largest item on a given linked list to be the final node on the list

  Program prompts the user to input the height and the radius

Rearrange the statements so that the program prompts the user to input the height and the radius of the base of a cylinder and outputs the volume and surface area of the cylinder. Format the output to two decimal places.

  A computational study of a spring-mass system in steady

a computational study of a spring-mass system in steady stateidealized spring-mass systems have numerous applications

  Create a function gcd

Create a function gcd(a, b) that receives two integers and returns the greatest common denominator of the two integers.

  Creates an enumerated data type year

Implement a C++ program that creates an enumerated data type Year that consists of the twelve months from January to December. Read from input the number of visitors to Olympic Park for each month and then calculate the total number of visitors for a..

  What is the line of code doing?

What is the line of code doing?

  Write a function called makemat that will receive two row

Write a function called makemat that will receive two row vectors as input arguments, and from them create and return a matrix with two rows.

  Pre and post increament and decrement operators

We are going to overload the following operators in the fract class- pre and post increament (++) and decrement (--) operators

  Make a c program that squares the number

Make a C program that accepts an integer value at the main method from the keyboard and in turn passes the value to a function that squares the number

  Implement the recursive version of the binary search

Write the code to test it out on a sample input. Compare its complexity with the iterative version found in the text book.

  Program to next the loops in either direction

You can write your program to next the loops in either direction, that is, process row-by-row or column-by-column. Explain which way you would choose to process the data.

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