+ 1

What are the differences between If statement and while statement.

Conditional statements

19th Sep 2018, 3:06 AM
Md Ibrahim (West Bengal, India)
Md Ibrahim (West Bengal, India) - avatar
3 Réponses
+ 1
Thanks for your ans
19th Sep 2018, 3:24 AM
Md Ibrahim (West Bengal, India)
Md Ibrahim (West Bengal, India) - avatar
+ 1
if statement can only ome time execute code which in the block.... Ex. if(5==5) {} //code execute 1 time or not while statement is loop statement, it execute code that time which time condition is true... Ex. j=5; while (j<=10) { j++; } //code compile 6 times....
25th Sep 2018, 7:10 AM
Jayank Aghara
Jayank Aghara - avatar