No older revisions available
No older revisions available
== 코딩!! ==
~cpp #include<stdio.h> void main() { int n,s=0; n=0; do{ n++; s=s+n; }while(s<=3000); printf("n=%d and, total sum=%d\n",n,s); }
~cpp #include<stdio.h> void main() { int n,s=0; n=0; do{ n++; s=s+n; }while(s<=3000); printf("n=%d and, total sum=%d\n",n,s); }