Understanding if-else Statements
In this exercise, you use what you have learned about writing if-else statements. This program was written to calculate customer charges for a telephone company. The telephone company charges 25 cents per minute for calls outside of the customer's area code that last over 10 minutes. All other calls are 10 cents per minute. Study the following code and then answer Questions 1-4.
1. What is the exact output when this program executes? __________________________________________________________________________________________________________________________________________________________________2. What is the exact output if the value of call Minutes is changed to 20? __________________________________________________________________________________________________________________________________________________________________
3. What is the exact output if the expression in the if statement is changed to callMinutes >= MAX_MINS? __________________________________________________________________________________________________________________________________________________________________
4. What is the exact output if the variable named cal l edAC is assigned the value 847 rather than the value 630? __________________________________________________________________________________________________________________________________________________________________
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.