Introduction to Programming
This blog assists in mastering C and C++ programming skills from basics to advanced levels.
Pages
My First C Program
Basic Concepts
Looping
Branching
Patterns
Arrays
Functions
File Management
Strings
Special C Programs
Flowchart
Algorithm
Structure
Pointer
RAPTOR
Interview Questions
Quizzes
Question Bank
Games
Security
Networking
C++ Programming
ઈન્ટરનેટનું સામાન્ય જ્ઞાન
Projects
Contact us
Tuesday, February 9, 2016
C program to print 1 to 10 numbers using for loop.
#include<stdio.h>
int main()
{
int i;
for(i=1; i<=10; i++)
{
printf("%d ", i);
}
return 0;
}
Output of the program
1 2 3 4 5 6 7 8 9 10
1 comment:
Unknown
December 25, 2020 at 10:04 AM
nice
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
nice
ReplyDelete