+ 1
What are the differences between If statement and while statement.
Conditional statements
3 Réponses
+ 1
Thanks for your ans
+ 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....