What you'll learn
- for, while and do-while
- break and continue
- Nested loops
- Star and number pattern problems
A quick example
example
for (int i = 1; i <= 4; i++) {
for (int j = 1; j <= i; j++)
printf("* ");
printf("\n");
}In the live class, the instructor builds examples like this step by step, explains each line and gives practice problems.
How this topic is taught at CodeMBS
Live class
Concept explanation, demonstrations and live problem-solving with the instructor.
Saturday doubts
Bring questions from Loops & Pattern Programs to the weekly doubt-solving session.
Sunday test
Check your understanding with a scheduled assessment.
Recording
Revise the full lesson anytime during your membership.
Full lesson on Loops & Pattern Programs is available to members
Detailed live lesson, worked examples, practice questions, recordings and weekly tests are part of the CodeMBS membership.
Unlock with membership