New Technology is Common, New thinking is rare
Download Now
#include<stdio.h> int main() { for(int i=1;i<=10;i++) { printf("%d\n",i); } return 0; }
#include<stdio.h> int main() { for(int i=1;i<=10;i++) { printf("%d\n",i); }
return 0; }
You may also write this program using while loop
#include<stdio.h> int main() { int i=1; while(i <= 10) { printf("%d\n",i); i++; } return 0; } Bhuvan Arora
#include<stdio.h> int main() { int i=1; while(i <= 10) { printf("%d\n",i); i++; }
Post a Comment
No comments:
Post a Comment