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 17:30
An essential element of being receptive to messages is to have an open mind true or false
Answers: 2
question
Business, 22.06.2019 20:30
Caleb construction (cc) incurs supervisor salaries expense in the construction of homes. if cc manufactures 100 homes in a year, fixed supervisor salaries will be $400,000. with the current construction supervisors, cc's productive capacity is 150 homes in a year. however, if cc is contracts to build more than 150 homes per year, it will need to hire additional supervisors, which are hired as full-time rather than temporary employees. cc's productive capacity would then become 200 homes per year, and salaries expense would increase to $470,000. how would cc’s salaries expense be properly classified? fixed variable mixed stepped curvilinear
Answers: 3
question
Business, 22.06.2019 21:00
Haley photocopying purchases a paper from an out-of-state vendor. average weekly demand for paper is 150 cartons per week for which haley pays $15 per carton. in bound shipments from the vendor average 1000 cartoons with an average lead time of 3 weeks. haley operates 52 weeks per year; it carries a 4-week supply of inventory as safety stock and no anticipation inventory. the vendor has recently announced that they will be building a faculty near haley photocopying that will reduce lead time to one week. further, they will be able to reduce shipments to 200 cartons. haley believes that they will be able to reduce safety stock to a 1-week supply. what impact will these changes make to haley’s average inventory level and its average aggregated inventory value?
Answers: 1
question
Business, 22.06.2019 21:30
Sunset foods relies on a highly centralized functional structure to ensure consistency in the quality and taste of its products and to drive down costs via process innovations. however, as a consequence of its highly compartmentalized structure, the firm has found it difficult to transfer information and ideas from one department to the next. with the launch of its new line of breakfast foods coming up, how can sunset improve its ability to collaborate without sacrificing the benefits of its current structure
Answers: 1
You know the right answer?
What will be the value of discountRate after the following statements are executed? double discountR...
Questions
question
Chemistry, 23.10.2019 04:00
question
English, 23.10.2019 04:00
question
Mathematics, 23.10.2019 04:00
Questions on the website: 13722360