IF & ELSE

Dec 29, 2010 at 8:11 PM

Some time ago I lost all my code for my os and I cant remember how to use the If & Else functions instead of the case function please help????

Dec 30, 2010 at 2:20 AM

// parameters are just tests

if ( i < 5) // if i is less than 5

{

do code;

}

else

{

other code;

}