Question 15 What will be the value of discountRate after the following statements are executed? double discountRato - 0.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Question 15 What will be the value of discountRate after the following statements are executed? double discountRato - 0.

Post by answerhappygod »

Question 15 What Will Be The Value Of Discountrate After The Following Statements Are Executed Double Discountrato 0 1
Question 15 What Will Be The Value Of Discountrate After The Following Statements Are Executed Double Discountrato 0 1 (23.26 KiB) Viewed 65 times
Question 15 What will be the value of discountRate after the following statements are executed? double discountRato - 0.0; int purchase - 1250; char custN; if (purchase > 1000) if (cust - 'Y') discountRate - 0.05; else discountRate - 0.04; else if (purchase > 750) if (oust -- 'Y') discountRate - 0.04; olsa discountRate - 0.03; else discountRate - 0.0; 0 0.04 00.0 0 0.05
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply