COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
How would you decide if a number is LESS THAN OR EQUAL TO to 20?
|
“number > 20”
|
|
” number ^ 20”
|
|
” number <= 20”
|
|
None of the above
|
Explanation:
Detailed explanation-1: -The symbol ≤ means less than or equal to. The symbol ≥ means greater than or equal to.
Detailed explanation-2: -“9 is less than 20” is symbolically represented as 9 < 20.
Detailed explanation-3: -When a number is bigger than or smaller than another number, greater than less than symbols are used. If the first number is greater than the second number, greater than symbol (>) is used. If the first number is less than the second number, less than symbol (<) is used.
There is 1 question to complete.