DO NOT MISS

Ads

Thursday, 28 July 2016

Program 3 Using While Loop

#include<stdio.h>
#include<conio.h>

void main()

       {

             int i;
             clrscr();
             i=1;

             
while(i<=10)

                    {

                             printf("%d\t",i);
                             i++;

                    }

             getch();

       }

Output:-
______________________________________________________
______________________________________________________
______________________________________________________
______________________________________________________

Greataims

 
Copyright © 2016 Computersadda. Designed by @ Computersadda Team - Published By Greataims