A new author is in the process of negotiating a contract for a new romance novel. The publisher is offering three options. In the first option, the author is paid $5,000 upon delivery of the final manuscript and $20,000 when the novel is published. In the second option, the author is paid 12.5% of the net price of the novel for each copy of the novel sold. In the third option, the author is paid 10% of the net price for the first 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 to have an estimate of the royalties generated under each option. Instructions Write a program that prompts the author to enter: The estimated number of copies that will be sold. The net price of each copy of the novel The program then outputs: The royalties under each option The best option the author could choose. Ex. If option 1 is the best, output Option 1 is the best (Use appropriate named constants to store the special values such as royalty rates and fixed royalties.)
import java.util.Scanner;
public class BookRevenue {
public static void main(String[] args) {
Scanner sc = new
Scanner(System.in);
System.out.print("Estimated number
of copies sold: ");
int num_of_copy =
sc.nextInt();
System.out.print("Price of each
copy: ");
double price_copy =
sc.nextDouble();
//option 1
double opt1 = 5000; //paid upon
delivery of final manuscript
//20000 when novel is
published.
opt1 += 20000;
/*------------Option
2--------------*/
double opt2 = 0;
//12.5% of net price
opt2 = num_of_copy * price_copy*
12.5 / 100;
/*---------------Option
3-------------*/
double opt3 = 0;
if(num_of_copy >= 4000)
{
//10% of first
4000 copies.
opt3 = 4000 *
price_copy * 10 / 100;
//14% of
rest
opt3 +=
(num_of_copy - 4000) * price_copy * 14 / 100;
}
else
{
//10% of first
4000 copies.
opt3 =
num_of_copy * price_copy * 10 / 100;
}
System.out.println("Option-1: " +
opt1);
System.out.println("Option-2: " +
opt2);
System.out.println("Option-3: " +
opt3);
//checking which option is
best.
if(opt1 > opt2)
{
if(opt1 >
opt3)
System.out.println("Option-1 is the best
option.");
else
System.out.println("Option-3 is the best
option.");
}
else
{
if(opt2 >
opt3)
System.out.println("Option-2 is the best
option.");
else
System.out.println("Option-3 is the best
option.");
}
}
}

A new author is in the process of negotiating a contract for a new romance novel....
How can I modify my program to return the option with the highest amount ? //A new author is in the process of negotiating a contract for a new romance novel. //The publisher is offering three options. //1. The author is paid $5,000 upon delivery of the final manuscript and $20,000 when the novel is published. //2. In the second option, the author is paid 12.5% of the net price of the novel for each copy of the novel sold....
C ++ program i have 75% correct. im missing the part where you mention which option 3 is best. also the final calculation for options 1 & 2 #include <iostream> #include <iomanip> using namespace std; int main() { double option1, option2, option3, copiesSold, priceperCopy, tenPercent, fourteenPercent; double finalManu, published; cout << fixed << showpoint << setprecision(2); cout<<"Enter price of each copy: "; cin>>priceperCopy; cout<<"Estimated number of copies sold: "; cin>>copiesSold; finalManu = 5000, published = 20000; if (copiesSold...
Break-Even Analysis A publisher for a promising new novel figures fixed costs (overhead, advances, promotion, copy editing, typesetting) at $54,496, and marginal costs (printing, paper, binding, shipping) at $1.6 for each book produced. If the book is sold to distributors for price of $11 each, How many must be produced and sold for the publisher to break even? (Round to the nearest whole number).
Mary is in contract negotiations with a publishing house for her new novel. She has two options. She may be paid $100000 up front, and receive royalties that are expected to total $36000 at the end of each of the next 5 years. Alternatively, she can receive $200000 up front and no royalties. Which of the following investment rules would indicate that she should take the former deal, given a discount rate of 10%? Rule I: The Net Present Value...
Break-Even Analysis A publisher for a promising new novel figures fixed costs (overhead, advances, promotion, copy editing, typesetting) ac $55,858, and marginal costs (printing, paper, binding, shipping) at $1.6 for each book produced. If the book is sold to distributors for price of $11 each, How many must be produced and sold for the publisher to break even? (Round to the nearest whole number). Profit Analysis The same multimedia company now estimates their cost and revenue functions to be: C(x)...
Question 7 3 pts reak-Even Analysi A publisher for a promising new novel figures fixed costs (overhead, advances, promotion, copy editing, typesetting) at $55257, and marginal costs (printing, paper, binding, shipping) at $1.6 for each book produced. If the book is sold to distributors for price of $11 each, How many must be produced and sold for the publisher to break even? (Round to the nearest whole number). D Question 8 3 pts Marginal Cost Analysi The manager of a...
Question 1 On December 31, 2018 Change Co. showed the following account balances in his general ledger: Land Building and plant facilities Machinery and equipment $330,000 990,000 975,000 During 2019, the following transactions occurred. 1. Land site A was acquired for $650,000 plus legal fees on closing of $40,000. 2. Land site B, with a building, was acquired for $720,000. The closing statement indicated that the land value was $500,000 and the building value was $300,000. Shortly after acquisition, the...
Question 1 On December 31, 2018 Change Co. showed the following account balances in his general ledger: Land $330,000 Building and plant facilities 990,000 Machinery and equipment 975,000 During 2019, the following transactions occurred. 1. Land site A was acquired for $650,000 plus legal fees on closing of $40,000. 2. Land site B, with a building, was acquired for $720,000. The closing statement indicated that the land value was $500,000 and the building value was $300,000. Shortly after acquisition, the...
On December 31, 2018 Change Co. showed the following account balances in his general ledger: Land $330,000 Building and plant facilities 990,000 Machinery and equipment 975,000 During 2019, the following transactions occurred. 1. Land site A was acquired for $650,000 plus legal fees on closing of $40,000. 2. Land site B, with a building, was acquired for $720,000. The closing statement indicated that the land value was $500,000 and the building value was $300,000. Shortly after acquisition, the building was...
On December 31, 2018 Change Co. showed the following account balances in his general ledger: Land $330,000 990,000 975,000 Building and plant facilities Machinery and equipment During 2019, the following transactions occurred. 1. Land site A was acquired for $650,000 plus legal fees on closing of $40,000. 2. Land site B, with a building, was acquired for $720,000. The closing statement indicated that the land value was $500,000 and the building value was $300,000 Shortly after acquisition, the building was...