Question: What's the solution for this c++ problem? QUESTION3: Using the following chart, write an if-else-if statement to calculate the commission amount depending on the value
What's the solution for this c++ problem?





QUESTION3: Using the following chart, write an if-else-if statement to calculate the commission amount depending on the value in sales as below: Sale amount Less than or equal $10,000 Greater $10,000 to $20,000 Over $20,000 Commission Rate 2.5% | 3.5% 5.0% https://s3.us-east-1.amazon Suppose we have the following lines of code: int main() int value1, value2; cout > value1; cout > value2; //add more lines of the code below Return 0; Continue to write the nested if statement that performs the following: If value1 is less than 2000 and value2 is less than or equal to 4000 and if value1 is greater than value2 then display the "value1 a value2 is less than 2000 and value2 is less than value1" QUESTIONS Convert following if-else-if statement into a switch statement if (select 1 ) cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
