#include<stdio.h> int main(){ int num = 1; print(num); return 0; } int print(num){ if(num<=100){ printf("%d ",num); print(num+1); } }
Filled Under
C
Program in c to print 1 to 100 without using loop
Subscribe to:
Post Comments (Atom)
#include<stdio.h> int main(){ int num = 1; print(num); return 0; } int print(num){ if(num<=100){ printf("%d ",num); print(num+1); } }
Blog Templates Designed by Templatezy - Sb Game Hacker Apk
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.