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 2021-02-07 05:31:16
Processing time 0.0162 sec