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
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