Lecture14 Conditional Execution 1

Lecture14 Conditional Execution 1 -...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
FAST, National University of Computer and Emerging Sciences, Islamabad 1 Lecture 13:  Conditional Execution-I Course: Programming For Engineers-1 Asma Ahmad
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Reference Ch.3 of the Text Book
Background image of page 2
3 Control Structures Sequential execution Statements executed one after the other in the order written Transfer of control When the next statement executed is not the next one in sequence All programs written in terms of 3 control structures Sequence structures: Built into C. Programs executed sequentially by default Selection structures: C has three types: if , if…else , and switch Repetition structures: C has three types: while , do…while and for
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
A flowchart is a visual or graphical representation of  an algorithm. An alternative of Pseudocodes The flowchart employs a series of blocks and arrows,  each of which represents a particular operation or  step in the algorithm. The arrows represent the sequence in which the  operations are implemented.    Introduction of Flow Charts 
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 18

Lecture14 Conditional Execution 1 -...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online