Estimated number of copies that will be sold

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

The publisher is offering three options:

Option 1): Paid 5,000 upon delivery of final manuscript & 20,000 when the novel is published.

Option 2): Author is paid 12.5% of the net price of the novel for each copy of novel sold.

Option 3): Author is paid 10% of net price for the first 4000 copies sold & 14% of net price for copies over 4000.

The author has some idea about the number of copies that will be sold and would like to have an estimate of the royalties generated under each option.

Program: Write a program that prompts the author to enter the net price of each copy of the novel and the estimated number of copies that will be sold.

The program then outputs the royalties under each option and the best option the author could select. (Use named constants to store special values such as royalty's rate and fixed royalties).

This program must be in C++ and could you explain this problem.

Reference no: EM13698841

Questions Cloud

Prepare regular expression and finite automata : You need to prepare regular expression and finite automata - Explain each and every question in depth with examples.
Give both an fa and an re for l : In a string, a block is a substring in which all symbols are the same which can't be enlarged. For example, 0001100 have three blocks.
Give the first 16 binary numbers starting at 0 : Give the first 16 binary numbers starting at 0 - How many values can be expressed using 3 binary did get? List them in binary and in base 10.
Implement program which performs basic arithmetic operation : Write a complete C program that prompts for two integer numbers (one number at a time, or both at once, as you wish), reads them into two variables of type int find then calculates and prints the following five values
Estimated number of copies that will be sold : Write a program that prompts the author to enter the net price of each copy of the novel and the estimated number of copies that will be sold.
Aloha network : In a pure ALOHA network with G=1/2, how is the throughout affected in each of the subsequent cases?
Write a program to find the common songs in these lists : Write a program to find the common songs in these lists. Let user enter the list sizes n and m and the songs. While testing your program for submission, make sure that the lists are different but they do intersect in some songs.
How can two cubical dice be labeled using number : Alice and Bill flip a fair coin until one of the respective patterns A = HHT or B = HTT appears for the first time (and then the corresponding player wins).
Write a program that decides if a number x is in the matrix : Write a program that decides if a number X is in the matrix. Let the user enter the size of the matrix n, the content, and the number X to search. Display the result of your search in the screen. While testing your program for submission, make sur..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Variables - features of good program design

Explain one reason why the variable name in question is acceptable but not recommended, and provide an alternative name that would both satisfy the compiler and be recommended according to variable naming conventions.

  Implement a standard sorted linked list class

Write C++ Program:Implement a standard SORTED linked list class. Be sure to include constructor/copy constructor, destructor, and assignment operator overload.

  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

  Calculate distances and map a route

The GPS navigation system uses the graph and geometric algorithms to calculate distances and map a route. One of the geometric problems is the closest-pair problem. Given a set of points, the closest-pair problem is to find the two points that are..

  Pointer variables to demonstrate shallow and deep copy

Using C++, write a program that uses pointer variables to demonstrate shallow and deep copy. The program should give the user the choice to do the following:

  Use a define statement to create a constant

Follow these specifications: Use a define statement to create a constant that will hold your student number. You should have separate string variables for your first and last name; name these first_name and last_name.

  Write a program that reads an array with wind-tunnel test

write a program that reads an array with wind-tunnel test data then allowss the user to enter a flight-path angle. If the angle is within the bounds of the data set, the program should then use linear inteerpolation to compute the corresponding coeff..

  Heights of the individual pupils

Make a C++ program that helps the health visitor making the statistics and heights of the individual pupils,

  Implementation of sorting technique

Implementation of sorting technique

  Function alter with two parms passed by reference

Write a function alter with two parms passed by reference: x and y. alter changes the value of x to x+y and changes the value of y to x*y. Write a main function to read in two integers, print the two integers, call the function alter using the two..

  Users to input two forces by their components

write a programm to ask users to input two forces by their components of (Fx1,Fy1) and (Fx2,Fy2) from the keyboard.call twice the function to display both magnitude and direction angle of two forces on the screen.add two forces and display both magni..

  Compute the time required to cut the grass

Write a program that takes the length and width of a rectangular yard and the length and width of a rectangular house situated in the yard.

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