Home /
Expert Answers /
Computer Science /
2-5-2-writing-branches-using-an-else-statement-write-code-to-put-34-less-than-or-equal-to-20-n-34-to-pa716
(Solved): 2.5.2: Writing branches.
Using an else statement, write code to put "less than or equal to 20\n" to ...
2.5.2: Writing branches.
Using an else statement, write code to put "less than or equal to 20\n" to output if userAge is less than or equal to 20.
Ex: If userAge is 20, then output is:
less than or equal to 20 userAge: 20