Ethan H.

asked • 02/22/21

Simple code please

  1. A new author is in the process of negotiating a contract for new romance novel. The publisher is offering three options.
  2. Option one, the author is paid $5,000 upon delivery of the final manuscript and $20.000 when the novel is published
  3. Option two, author is paid 12.5% of the net price of the novel for each copy of the novel sold.
  4. Option three, author is paid 10% of the net price for the 4,000 copies sold and 14% of the net price for the copies sold over 4,000.

 

The author has some idea about the number of copies that will be sold and would like an estimate of the royalties generated under each option. Write a program that prompts the user 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 along with the net price of each copy and the estimated number of copies that will be sold and the best option the author could choose (declare variables with fixed values for the different royalties (ie 12.5, 10 and 14)


1 Expert Answer

By:

Patrick B. answered • 02/22/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.