Posted on

C++ | Loops introduction

The Techtopz

Introduction

This tutorial will give a introduction to loops in c++. There are 3 types of loops mainly, for loop, while loop and do-while loop. The first program prints 1 to 10 using for loop. The next one uses while loop. The last one uses do-while loop. You can extend the program by just replacing the 10 by the limit. So enjoy the program. Lets begin………………

View original post 212 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s