Simple example of C Programming and Tutorials
Monday, March 11, 2019
Display 1 to 10 Integer or Real Number using for Loop in C programming
Display 1 to 10 Integer or Real Number using FOR Loop in C programming
#include <stdio.h>
int main()
{
int i;
for(i=0;i<10;i++)
{
printf("%d ",i);
}
}
OUTPUT:
0 1 2 3 4 5 6 7 8 9
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment