#include<bits/stdc++.h> using namespace std; int main(){ int a=1,n; float h=0 while(n>=a){ h=h+1/i printf("%.3f") a++; } cout<<a; } /************************************************************** Problem: 1014 User: shenyue Language: C Result: Compile Error ****************************************************************/