Study/C++ Hangover1003 코딩하는 야구쟁이 2011. 9. 29. 20:45 #include using namespace std; int test(float input) { float sum = 0.0; float n=1; while(input>sum) { sum += (1/(n+1)); n++; } cout<>input; if(input==0.00) break; test(input); } while(1); return 0; }