what is the purpose of IF function? Explain with an example
please don't directly give the answer from go*gle
Answers
Answered by
1
Answer:
The IF function is a logical statement. If the first statement is false, then it will execute the second program / statement.
EXAMPLE (python) :
if ("2+2") = = 4
then(
print ("Correct!"))
else
print("Wrong")
Thnx and have a nice day!
✌(●'◡'●)
Similar questions
Math,
26 days ago
Geography,
26 days ago
Accountancy,
1 month ago
Computer Science,
1 month ago
Physics,
8 months ago
Math,
8 months ago