Page 1 of 1

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

Posted: Sat May 14, 2022 4:37 pm
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 67 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