subject
Business, 03.03.2020 03:15 saucyboyFredo

What will be the value of discountRate after the following statements are executed? double discountRate = 0.0; int purchase = 1250; char cust = 'N'; if (purchase > 1000) if (cust == 'Y') discountRate = 0.05; else discountRate = 0.04; else if (purchase > 750) if (cust == 'Y') discountRate = 0.04; else discountRate = 0.03; else discountRate = 0.0;

ansver
Answers: 3

Another question on Business

question
Business, 22.06.2019 00:50
Suppose that: 1. malaysia requires 1 hour of labor to produce 1 pound of rice and 2 hours of labor to produce 1 pencil; 2. indonesia requires 2 hours of labor to produce 1 pound of rice and 4 hours of labor to produce 1 pencil; 3. each country has 10,000 hours of labor to allocate between the production of rice and pencils; and 4. in autarky, malaysia consumes 5,000 pounds of rice and 2,500 pencils. which country has an absolute advantage in rice production? in pencil production? which country has a comparative advantage in rice production? in pencil production? will trade between the two countries be mutually beneficial?
Answers: 1
question
Business, 22.06.2019 04:40
What is ur favorite song and by who i know dis is a random question
Answers: 2
question
Business, 22.06.2019 12:00
Simon, aged 10, is invited to a classmate's birthday party at an exclusive ski resort on march 15th. the day will include 4 hours of snowboarding, lunch and birthday cake. simon's mother checks a box on the invitation that says "yes, we will attend" and returns it to the classmate's address. unfortunately, they later don't attend the party when simon comes down with the flu. on march 17th, simon's mother receives an invoice in the mail from simon's classmate for $35 that says, "party no-show fee." can simon's classmate collect the fee?
Answers: 3
question
Business, 22.06.2019 19:40
Sue now has $125. how much would she have after 8 years if she leaves it invested at 8.5% with annual compounding? a. $205.83b. $216.67c. $228.07d. $240.08e. $252.08
Answers: 1
You know the right answer?
What will be the value of discountRate after the following statements are executed? double discountR...
Questions
question
Mathematics, 13.01.2020 02:31
Questions on the website: 13722367