Lecture # 5 CF Increment Decrement

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 30

Course Title

Computing Fundamentals

Dr Muhammad Taimoor
School of Aviation Engineering And Technology
The Superior University, Lahore
CONTENT LIST
• Assignment Statement
• Compound Assignment Statement
• Increment Operator
• Decrement Operator
• Input and Output
• Control Structure

12/8/2022 2
Assignment Statement

12/8/2022 3
Example

12/8/2022 4
Compound Assignment Statement

12/8/2022 5
Continued….

12/8/2022 6
Continued….

12/8/2022 7
Increment Operator

12/8/2022 8
Difference between Prefix and Postfix Increment

12/8/2022 9
Example

12/8/2022 10
Example

12/8/2022 11
Decrement Operator

12/8/2022 12
Difference between Prefix and Postfix Decrement

12/8/2022 13
Example

12/8/2022 14
Example

12/8/2022 15
Input and Output

12/8/2022 16
Standard Output

12/8/2022 17
Example

12/8/2022 18
Example

12/8/2022 19
Example

12/8/2022 20
Standard Input

12/8/2022 21
Example

12/8/2022 22
Example

12/8/2022 23
Control Structure

12/8/2022 24
Sequence Control Structure

12/8/2022 25
Selection Control Structure

12/8/2022 26
Continued…..

12/8/2022 27
Repetition Control Structure

12/8/2022 28
Function Call Control Structure

12/8/2022 29
THANK
THANK YOU YOU

You might also like