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

  Create a loops that reads from memory an array

Create a loops that reads from memory an array containing an arbitrary number of characters - The program should make a second character array which is identical to the first, except that the case of every alphabetical letter has been reversed

  While loop that allows the user to continue entering

This code should include a while loop that allows the user to continue entering employees as long as they want to continue:int main(){Real payrate,hours, gross,again;

  Create a program that outputs the result of the formula

Create a program that outputs the result of the formula f = (a - b)(x - y) using the printf() functions.

  Reads from the external file input.txt

Program that reads from the external file input.txt, counts the letters in every word, replaces the word by that number, and then writes the numbers to an external file output.tx

  A run is a sequence of adjacent repeated val

A   run   is   a   sequence   of   adjacent   repeated   values.   Using   an   array,   write   a   program   that   generates   a   sequence   of

  Prepare a program that uses the pthread library

Prepare a C/C++ program that uses the PTHREAD library to create threads and mutexes to synchronize them.

  Create a job class that holds a job id

Create a Job class that holds a Job ID number and the cost of the Job. Include insertion and extraction operators. Create a JobException class that holds a Job and an error message

  Solution to the quadratic equation

The program should allow the user to input the particular integer coefficients of the quadratic equation and properly output either real or complex number solutions for the roots of the equation

  Explain function which builds the multi-dimensional vector

A separate function which outputs the multi-dimensional vector to the screen.

  Write the definitions of the member functions

Write the definitions of the member functions of the class complexType as designed and Rewrite the definition of the class complexType

  Write c program for linked list applications

Write a complete C program which illustrates the Linked list applications data structures and algorithms. The program will read in mid-semester test scores as Main Linked List and produce six outputs:

  Program which calculates the average and sum of the numbers

write down a program which calculates the average and sum of the numbers enter by a user.Using a While Loop

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