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

  Store a list of student info

Store a list of student info, (id number, First name and Last name) using a link list. The ID is the key field. The program should implement a linked list using arrays.The program should process the following operations

  Write an accessor function to get the angle

Write a friend function to compare the area of a rectangle with sides 12 and 8 to the area of a parallelogram with sides 14 and 18 and an acute angle of 40 degrees. Test it in main, and check the answer by hand.

  Use at least two programmer defined functions

C++ Using an input file similar to the one below, write a program to determine the highest concentration recorded and the number of days the photochemical oxidant concentration exceeded the standard; display number of days and percentage (based on th..

  Input parameters, and returns nothing

Write a function called ten2one(), that takes no input parameters, and returns nothing (void). The body of the function must include a loop that counts from 10 down to 1, printing the count value each time in the loop. The output should look like (no..

  Write a function int frequency

Write a function int frequency (int theArray [ ], int n, int x) that counts the number of times the item x appears among the first n elements of theArray and returns that count as the frequency of x in theArray. Use integers for everything!

  Use the function to sort an array of 100 random element

Writing a C program to do a bubble sort. Use the function to sort an array of 100 random elements. Show the input array and the output array.

  How the project teams and coaches master agile methodology

Analyze how the project teams and coaches master the agile methodology to solve business problems. Highlight the one that you believe is the most effective and support your answer.

  Calculate and display the area of the rectangle

Calculate and display the area of the rectangle and the total price of the tile. Add comments in code section. Code this program in java programming.

  Write a program that allows user to input students names

Write a program that allows the user to input the students' names followed by their test scores and outputs the following.

  Lu decomposition with gauss elimination

The LU decomposition with Gauss elimination and what is the physical interpretation of the elements of ? Write C++ programs for steps 2, 3, and 4.

  Translate than c source code

Why does Ada take so much more time to translate than C source code? What phase of the Ada translation takes the longest?

  Static field holds total winnings for all horses in stable

static field holds total winnings for all horses in the stable // total winnings are shown after each horse wins,

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