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

C++ C++ 5. Write an if statement that: (10 pts.) a. assigns 0

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

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!