The if statement serves for bifurcating the execution of the instructions within the program.
if the condition of the if statement results in a boolean true(non-zero), the if code block executes, otherwise(boolean false, AKA zero) it does not.
We build and run the program several times, in each occasion modifying the resulting if conditional expression, so as to check how the program behaves with different conditions.
Saturday, 9 April 2011
If statement
Labels:
assignment,
beginner,
C,
Code::Blocks,
gasto,
gazto,
if,
if_statement,
study,
tutorial,
variable
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2011
(16)
-
▼
April
(14)
- 14 · Functions implementations
- Study skills for programmers
- Functions in pseudo-code
- Span Of Statements
- Line by line explanation
- If statement
- Comment usage
- Variables definitions
- Batch commands
- First C program built (from terminal)
- Code::Blocks setup and test
- Code::Blocks setup
- Code::Blocks download
- MinGW setup on Windows XP
-
▼
April
(14)
No comments:
Post a Comment