An Introduction to Computer Science & Programming | LECT 7.2: Notes & Examples on Counter–Controlled Loops | in Arabic
Lecture 7: Control Structures – Loops (Repetition): the For .. While .. & Do – While Statements
Section 7.2: Notes & Examples on Counter–Controlled Loops
- Control Variables
- Control Variables Initialization
- Control Variables Increment/ Decrement
- Off-by-One Error
- Expressions that contain Arithmetic Expressions
- Loop Body Execution when Loop-Continuation is initially False
- Optional Expressions in a for Statement’s Header
Lecture Notes (Lecture Slides in PDF) + Exercises (Problem Sheets) + Lecture Codes (Source Codes for Examples in Lecture Notes) are all available at the following link: https://drive.google.com/drive/folders/1RTakuNor6594Z289NWygz1lmd-jjHHQ-
Additional Resources:
1) C Programming Tutorial 76 - While Loop: https://www.youtube.com/watch?v=OfJJsEIO1kE
2) C Programming Tutorial 78 - Do While Loop: https://www.youtube.com/watch?v=BztbwUkMY_I
3) C Programming Tutorial 77 - Nested While Loops: https://www.youtube.com/watch?v=v9igjbjjYPo
4) do-while Loop: https://www.youtube.com/watch?v=TjkJQly2YCw
Subscribe and hit the bell to see new videos: https://www.youtube.com/AmrSGhoneim?sub_confirmation=1
#ComputerScience #Programming #C #C++ #Coding #Technology #Programmer #Developer #Arabic