Question: c++ programming language Rewrite the following expressions using an if... else statement. (Assume that all variables are declared properly.) a. (overSpeed > 10) ? fine
c++ programming languageRewrite the following expressions using an if... else statement. (Assume that all variables are declared properly.) a. (overSpeed > 10) ? fine = 200 : fine = 75; b. (fuel >= 10) ? drive = 150 : drive = 30; C. (bill >= 50.00) ? tip = 0.20 : tip = 0.10; When Submitting this assignment: - PLEASE SUBMIT a .doc ,.docx , ora .pdf file. with your NAME, the DATE, the QUESTIONS, and your ANSWERS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
