- 2
How can i transform while to for
for and while
4 Answers
+ 3
for (int i=0;i<=4;i++){...}
| |
| |
\/
int i=0;
while (i<=4){...
i++;
}
+ 2
if and else are like pairs.
if the condition mentioned in 'if' part evaluates to true then the statements under 'if' will execute. if the condition evaluates to false the else part will execute..
if a case occurs where u have two or more diff conditions and u need either of them true use else if(where u need to.mention your other condition one by one)and a else block for no conditions evaluate to true
0
am cofused about if else if and else
0
what is the difference between listbox and combobox and also convert into 32?