cs201 Lesson 4: Let discuss about the control structures: A - TopicsExpress



          

cs201 Lesson 4: Let discuss about the control structures: A statement used to control the flow of execution in a program or function is called control structure. The control structures in c are used to combine individual instructions into a single logic unit. This logic unit has one entry point and one exit point. The basic control structures for writing programs are: (1) sequence (2) selection (3) repetition Here I will concentrate only on two: selection and repetition. In sequence structure the instructions are executed in a sequence as happened in a simple program which does not have any conditional statement. A selection structure selects a statement or set of statements to execute on the basis of a condition (a>4.b,< , >=,y, y
Posted on: Sat, 24 Aug 2013 11:54:35 +0000

Trending Topics



Recently Viewed Topics




© 2015