# CS201 Short Lecture 5 | While, Do while and for loops C++ Code examples

If you are enrolled in CS201 Introduction to Programming course in Virtual university in any of your degree program i.e BSCS, BSIT, BSSE, MCS, MIT, BS Statistics, BS Match, MSc Math, MSc Statistics. Then you landed on a right place where you can find all CS201 Short Lectures, Notes, Past papers, MCQs with Answers for best Midterm & Final term Preparations. TheITeducation.com is the best plate-from to get yourself prepare for prepare for CS201 Introduction to Programming course. CS201 Short Lecture 4

Here you will find all CS201 Short Lectures videos which are the best and easy way to learn the concepts and short and highlighted CS201 hangouts. We will also provide you the CS201 Past Papers MCQs that would help a Vu Student to get good marks and CGPA in CS201 Introduction to Programming course. These CS201 Short videos, notes, Past papers and Mcqs with answers will help to attempt your quizzes, to help you find CS201 Assignment solutions, Grand quiz, Midterm preparation and final term preparation.

## Topics of today! | CS201 Short Lecture 05

CS201 Short Lecture 5 | While, Do while and for loops C++ Code examples Urdu Hindi. #cs201 #vushortlectures #vu #virtualuniversity #Loopsinurdu Today we will discuss cs201 lecture 6 and cs201 lecture 7.

This is 5th lecture of CS 201 short lectures prepared in Urdu and Hindi language.

Today we will talk about programming building blocks which is loops.

We will talk about loops use different examples in C++ language. We know that there are three looping structures are available in c++ programming language

## For statement

All these loops are functional equivalent and used to repeat a statement are set of this statement it on the basis of conditional statement.

In all these loops a conditional statement is tested either at top and bottom and on the basis of the result for conditional statement a single statement are a set of statement and closed { is executed repeated.

There are four steps of are loop in C plus plus programming language

1. First of all declare counter variable and initialize it

2. Construct a conditional expression with the help of Counter variable

3. Define the body of loop 4. Increment or decrement the value.

## CS201 Short Lecture 05 | While, Do while and for loops C++ Code examples

CS201 Short Lecture – 05 | VU Short Lecture | Introduction to Programming in (Urdu / Hindi) This is our CS201 Introduction to Programming Tutorial recorded for the students of VU. Students #BSCS​ #BSIT​ #BSSE​ #MIT​ #MCS​ ; in this Online video

## CS 201 Short Notes | What is Programming

All CS 201 short notes and handouts are available which are paid . The price of these short notes and handout are available in Rs 300 pkr . Contact 03096055938 for purchase of CS 201 short notes Handouts and for further details also.