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
i need amibroker afl to dll plugin

Q-What happens while a function throws an exception which was not specified through an exception specification for this function? A: Unexpected() is called, which, by default, w

is getchar() is a C++ library function?

write a program that can accept numbers and perform all the four arithmetic operation

I can''t figure out how to stop the programming from hitting for the player even when they type in stand.

Given an integer n and a permutation of numbers 1, 2 ... , n-1, n write a program to print the permutation that lexicographically precedes the given input permutation. If the given

HOW TO USE POINTER

Write a C program "team.c" that maintains information for a soccer team. The program will allow you to add and delete players from your team, to search your team for players by nam

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

what are assessor. elaborate with clear easy diagrams