👤

ALGORITHM C
If 4 is less than 5.
Add 5 to 4.
Print the result.
Otherwise, print "no“.
Kindly answer the following guide questions for algorithm C:
1) What is the given condition?
2) What operator is being applied on the first statement?
3) What data value was used?
4) What is the answer on the given condition, referring to the first statement? (True or false)
5) On the second statement, what is the operator being used?
6) Still on the second statement, once you analyze the statement what is the result?
7) Which one will be printed by the program – the result processed from the second statement or the
word “no”?

ALGORITHM D
Ask the user to type in a whole number.
Add 5 to that number.
Print the result.

Kindly answer the following guide questions for algorithm D:
8) What data value is being asked to enter by the user, a fixed value, or a variable value?
9) On the second statement, what is the operator being used?
10) What is the answer to the last statement?