Understanding if Statements
In this exercise, you use what you have learned about writing if statements. 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 myAge is changed to 19? _____________________________________________________________________________________
_____________________________________________________________________________________3. What is the exact output if the value of myAge is changed to 18 and the expression in the if statement is changed to myAge <= VOTING_AGE? _____________________________________________________________________________________
_____________________________________________________________________________________4. What is the exact output if the value of myAge is changed to 18 and the variable named abl eToVote is initialized with the value "No" rather than the value "Yes"? _____________________________________________________________________________________
_____________________________________________________________________________________
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.