1. Write a Program to Print number 1 to N number using While loop in C Program
2. Write a Program to print first N  even number using while loop in C Program 
3. Write a Program to Print 1 to n number which divided by 5 using while loop in C Program .

1.
Write a Program to Print number 1 to N number using While loop in C Program - Program Code.

/* Write a Program to Print number 1 to N number using While loop   */
   #include<stdio.h>
   #include<conio.h>
   void main()
   {
     int i=1,n;
     clrscr();
     printf("Enter you want print Number = ");
     scanf("%d",&n);
     printf("Number 1 To n :\n");
     while(i<=n)
     {
       printf("%d\n",i);
       i++;
     }
     getch();
   }     


Print 1 to n number using while loop c Program - Program code

Print 1 to n number using while loop c Program output - Program code

Print 1 to n number using while loop c Program ouput - Program code

Program Code Download :- 
Download Program to Click Here....

2.
Write a Program to print first N  even number using while loop in C Program - Program Code.

/* Write a Program to print first N  even number using while loop   */
   #include<stdio.h>
   #include<conio.h>
   void main()
   {
     int i=0,n;
     clrscr();
     printf("Enter N = ");
     scanf("%d",&n);
     while(i<=n)
     {
       printf("%d\n",i);
       i=i+2;
     }
     getch();
   }             

print first N  even number using while loop in C Program - Program Code

print first N  even number using while loop in C Program output - Program Code.

print first N  even number using while loop in C Program output - Program Code.

Program Code Download :- 
Download Program to Click Here....

3.
Write a Program to Print 1 to n number which divided by 5 using while loop  in C Program - Program Code

/* Write a Program to Print 1 to n number which divided by 5 using while loop */
   #include<stdio.h>
   #include<conio.h>
   void main()
   {
     int i=0,n;
     clrscr();
     printf("Enter n = ");
     scanf("%d",&n);
     while(i<=n)
     {
       if(i%5==0)
       {
printf("%d\n",i);
       }
       i++;
     }
     getch();
   }

Print 1 to n number which divided by 5 using while loop  in C Program - Program Code

Print 1 to n number which divided by 5 using while loop  in C Program output - Program Code

Print 1 to n number which divided by 5 using while loop  in C Program output- Program Code

Program Code Download :- 
Download Program to Click Here....