Lesson 13
Unlock this lesson
Create a free account, then buy the course to open every lesson.
What you will learn in this lesson
- Repeat code with a while loop.
- Count with a counter variable.
- Add up numbers from 1 to n.
- Take a number apart, one digit at a time, with % 10 and / 10.
- Reverse a number.
Everything in C Programming: BCA, MCA, BTech & O Level
- 37 step-by-step lessons
- 10 mini projects with solutions
- A final project for your portfolio
- Real commands and real output in every lesson
- Practice task with a solution in each lesson
- Progress saved to your account