Answer :
The thing which the given program accomplishes is that it creates a method, declares variables, and executes commands if they meet the conditions in the code.
What is a Conditional Statement?
This is a type of statement that executes a line of code if a condition is not met.
Some types of conditional statements are:
- IF statement
- IF-ELSE statement
- Nested If-else statement.
- If-Else If ladder.
- Switch statement.
No, that is not the desired output because the integer should be less than 20.
Read more about conditional statements here:
https://brainly.com/question/11073037
#SPJ1