C++ While Loop (Sinhala)
Loops allow us to do something repeatedly. We can check for some condition and then we can execute some code even infinitely. When considering if conditions, it is obvious that they will check for the condition and run the code inside it once, but when it comes to loops, they can run code multiple times.
There are 3 types of loops in C++, while, for, and do while. In this video, we will discuss the while loop structure. The while loop is the simplest of all and also almost similar to the if condition in syntax.
If you need any kind of assistance with the repetition concept in programming, please watch this video where I go over the basic concepts in programming. I think that would be really useful for you as a beginner.
https://www.youtube.com/watch?v=iUS7uY4oz3Q
Take a look at IF Conditions also: https://www.youtube.com/watch?v=DkIVEBJYx_0
Here is how we made a calculator: https://www.youtube.com/watch?v=yNJjpUG6Ij8
For more while loop exercises, follow this link: http://gestyy.com/ewYkIJ
No comments:
Post a Comment