The Decision Control Structure
Till now we have used sequence control structure in the programs,in which the various steps are executed sequentially i.e.in the same order in which they appear in the program.
In C programing the instructions are executed sequentially,by default.
At times,we need a set of instructions to be executed in one situation and an another set of instructions to be executed in another situation.
In such cases we have to use decision control instructions.This can be acheived in C using;
(a)The if statement
(b)The if-else statement
(c)The conditional operators
The idea of programming might sound like a frightening task, but don’t worry. We designed this blog so that you can get your feet wet without stepping into the deeper complexities of the programming.
This Blog is dedicated to all those people who want to learn the most basic but important Programming Language'C Programming'.
If done step wise C language is easy and fun to learn.
So lets get started.
Start reading from the First Post to understand C programming.You may read a desired topic from the labels.
Press Ctrl+D to add this page to your Favourites/Bookmarks for further reference.
Note:Your comments,queries and suggestions are welcome.Feel free to post them in the the comment boxes available after every post.
This Blog is dedicated to all those people who want to learn the most basic but important Programming Language'C Programming'.
If done step wise C language is easy and fun to learn.
So lets get started.
Start reading from the First Post to understand C programming.You may read a desired topic from the labels.
Press Ctrl+D to add this page to your Favourites/Bookmarks for further reference.
Note:Your comments,queries and suggestions are welcome.Feel free to post them in the the comment boxes available after every post.
Saturday, May 31, 2008
Decision Control Structure
Labels:
Decision Control Structure
Subscribe to:
Post Comments (Atom)



0 comments:
Post a Comment