C Program To Print Natural Number Up To Which User Asked | C Programming Arogya Thapa Magar at January 30, 2018 C Programming, C Program To Print Natural Number Up To Which User Asked | C Programminginclude<stdio.h> int main(){int i=1,n; printf("Enter the number up to which you want to display."); scanf("%d",&n);while (i<=n){printf("%d\t",i);i++;}return 0;}OUTPUT Share To: NextNewer Post PreviousOlder Post Arogya Thapa Magar View Profile
Post A Comment:
0 comments so far,add yours