Posts Tagged ‘ if ’
no responses - Posted 06.25.08
By this time you should be familiar with the basics behind If and Else if statements. Below you’ll see more examples and more ways to use Control Flow in your programming.
1. You’ll learn more advanced ways of manipulating control flow in your program.
2. You’ll also learn how to declare and initialize boolean variables.
Boolean Variables
Boolean variables [...]
no responses - Posted 06.24.08
In the following tutorial, you’ll learn how to use if, and if-else statements. They are useful for deciding on what lines of code to execute based on values of previous variables in your program.
The If Statement
An example is as follows
int x;
if ( condition ) x = 50; //If condition returns TRUE, assign 50 to X.
In [...]

