Question: C++ 5. Write an if statement that: (10 pts.) a. assigns 0 to x when y is equal to 20. b. multiplies pavRate by 1.5
5. Write an if statement that: (10 pts.) a. assigns 0 to x when y is equal to 20. b. multiplies pavRate by 1.5 when hours are greater than 40 c. assigns 0.20 to commission when sales is greater than or equal to 10,000 d. sets the variable fees to 50 when the flag variable max is set
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
