Question: 21. Suppose that score is an int variable. Consider the following statements. (3) if (score >= 90); cout < < Discount = 10% <

 21. Suppose that score is an int variable. Consider the following statements. (3) if (score >= 90); cout < < 

21. Suppose that score is an int variable. Consider the following statements. (3) if (score >= 90); cout < < "Discount = 10%" < < endl; What is the output if the value of score is 95? Justify your answer. b. What is the output if the value of score is 85? Justify your answer 2. Suppose that

Step by Step Solution

3.55 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The image displays a snippet of a programming question related to an if statement in what appears to ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!