SOURCE CODE
Home
C & C++
JAVA
HTML
ASP.NET
XML
PROJECT
TIPS & TRICKS
CONTACT US
Page
Program in c to print 1 to 100 without using loop
#include<stdio.h>
#include<conio.h>
int main()
{
int num = 1;
print(num);
return 0;
}
int print(num)
{
if(num<=100)
{
printf("%d ",num);
print(num+1);
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment