Week 03 (Loops) - sayedmostaf/ICPC-ANU-Community-Level-0-2025 GitHub Wiki
π Week 3 - Loops
π Welcome to Week 3!
This week, weβll dive into loops in C++, a fundamental concept that allows us to repeat actions efficiently. By the end of the week, youβll be confident using different types of loops such as:
βοΈ for loops
βοΈ While loops
βοΈ do-while loops
βοΈ Nested loops
βοΈ Loop control with break and continue
βοΈ Scopes
Be sure to utilize the resources, lectures, and practice problems provided to enhance your C++ skills effectively.
π Key Resources
| π Topic | π¬ Type | π Link |
|---|---|---|
| Loops | π Slides | View Here |
| Introduction to loops | π₯ Video | Watch Here |
| For loops | π₯ Video | Watch Here |
| While loops | π₯ Video | Watch Here |
| do-while loops | π₯ Video | Watch Here |
| Infinite loops | π₯ Video | Watch Here |
| Continue & break | π₯ Video | Watch Here |
| Nested loops | π₯ Video | Watch Here |
| Scopes | π₯ Video | Watch Here |
π₯ Lecture Session
| π Topic | π Link |
|---|---|
| πΉ Recording | Watch Here |
| π» Codes and Solutions | Soon |
π Practice Sheet
Challenge yourself, and donβt hesitate to seek help when needed! π
π Sheet Link: Access Problem Sheet
π Problems:
This practice sheet includes problems from A to Z, covering conditions in C++. Try solving them on your own before checking the solutions!
- A - 1 to N
- B - Even Numbers
- C - Even, Odd, Positive and Negative
- D - Fixed Password
- E - Max
- F - Multiplication table
- G - Factorial
- H - One Prime
- I - Palindrome
- J - Primes from 1 to n
- K - Divisors
- L - GCD
- M - Lucky Numbers
- N - Numbers Histogram
- O - Pyramid
- P - Shape1
- Q - Digits
- R - Sequence of Numbers and Sum
- S - Sum of Consecutive Odd Numbers
- T - Shape2
- U - Some Sums
- V - PUM
- W - Shape3
- X - Convert To Decimal 2
- Y - Easy Fibonacci
- Z - Three Numbers
Stay consistent and keep practicing! πͺ
π Additional Problems
β οΈ Notice: Don't forget to join the group first before accessing the problems!
π Sheet Link: Access Problem Sheet
π Connect with Us
| π’ Platform | π Description | π Link |
|---|---|---|
| π Facebook | Official community page for updates & discussions | ICPC ANU Facebook Page |
| π₯ YouTube | Video tutorials and competition insights | ICPC ANU YouTube Channel |
π¬ Discussion and Help
If you have any questions or need assistance, feel free to reach out through our social media channels or community platforms.
πΉ Happy Coding! π»π₯