Skip to main content
Search
Search This Blog
ByteWarp
Menu
Home
C Programs
C pattern
CPP Programs
JavaScript
Java Programs
More…
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
January 14, 2017
C program to print numbers 1 to 10 using while loop
/* C program to print numbers 1 to 10 using while loop */
#include"stdio.h"
void main()
{
int i=1;
while(i<=10)
{
printf("%d ", i);
i++;
}
}
Output:
Comments
Popular Posts
April 20, 2016
Visual Basic 2010 Express Registration/Serial Key
December 04, 2023
Flatten Array
Comments
Post a Comment