U E D R , A S I H C RSS

최소정수의합/김대순

== 코딩!! ==

~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);
	}

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-05-27 07:09:19
Processing time 0.0059 sec