Skip to main content

Do While Loops

Body

Do While loops

In this part you will learn: 1. C syntax 2. Do While loops In this tutorial I will teach you about Do While loops. We will see a very basic program at first to grasp the concept of while loop and then afterwards we will make another program of reversing a number. Do While Loop Basic Step: Open Dev C++ then File > new > source file and start writing the code below.
  1. 
  2. #include<stdio.h>&#13;
  3. #include<conio.h></conio.h></stdio.h>
These two are the most common and basic header files. The first one stdio.h is used to grant us most of the basic functions of C like Input and Output functions. The second one

Add new comment

File attachments