+ 1

if

what is the use of this

24th Oct 2017, 2:47 PM
Arpit Gautam
Arpit Gautam - avatar
2 Answers
+ 4
if( this condition is true){print( "this");} else {if the above conditions are false print("this");};
24th Oct 2017, 3:50 PM
D_Stark
D_Stark - avatar
0
Are you asking what is the use of the 'If" statement in programming? If so, I allows your program to become "sentient" in that the program will change based on user input based on a series of IF>THEN questions. Hope this helps. Let me know if that is not what you meant and I will try again. -Craig
24th Oct 2017, 3:06 PM
Craig
Craig - avatar