What are the types of control structures in programming, C/C++ Programming

What are the various types of control structures in programming?

- Primarily there are 3 types of control structures in programming: Sequence, Selection and Repetition.

- Sequential control follows a top- down flow in executing a program. This means that step 1 is executed first, followed by step 2 and so on.

- Selection means dealing with conditional statements. This means that code is executed depending on evaluation of conditions a FALSE or TRUE. It means that not all codes may be executed and there are alternative flows within.

- Repetitions are also known as loop structures. They will repeat one or two program statements as set by a counter.

 

Posted Date: 9/9/2013 1:16:29 AM | Location : United States







Related Discussions:- What are the types of control structures in programming, Assignment Help, Ask Question on What are the types of control structures in programming, Get Answer, Expert's Help, What are the types of control structures in programming Discussions

Write discussion on What are the types of control structures in programming
Your posts are moderated
Related Questions
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec


what is binary heap ? what is the c code for the implementation for the binary heap

C Program to Check  EVEN & ODD NO   main() {           int n, a;           clrscr();           printf("ENTER ANY NUMBER: ");           scanf("%d", &n);


Ask question #Minimum 100 write an algorithm to calculate simple interest and compound interestwords accepted#

A: Use operator overloading to present a friend left-shift operator, operator #include class Fred { public: friend std::ostream& operator ... private: int i_; // onl

Money is immutable and is associated with a currency. When two money entities are added or subtracted be sure to consider currency conversion. You must create a money object result

Explain the Bit Wise Operations? C language in particular was created to make it easier to write operating systems. The objective was to have a language that provided excellent