Question: CHALLENGE ACTIVITY 2.5.2: Writing branches. 546028.3660044.qx3zqy7 Start Write code that puts greater than 22 to output if the value of userAge is greater
CHALLENGE ACTIVITY 2.5.2: Writing branches. 546028.3660044.qx3zqy7 Start Write code that puts "greater than 22 " to output if the value of userAge is greater than 22. Ex: If userAge is 25, then output is: greater than 22 userAge: 25 1 integer userAge Variables 2 2 5 3 // Program will be tested with 25, 21, 22, and 23 Not shown when editing 4 userAge = Get next input 5 6 7 // Your solution goes here 8 9 10 Put "userAge: " to output 11 Put userAge to output Code Flowchart
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
