WHY HELP

P1035 [NOIP2002 普及组] 级数求和

liujiao @ 2017-08-06 17:52:07

#include<iostream>
using namespace std;
int main( )
{int a;float b=0;int i;
cin>>a;
while(b<=a)
{
 i=1;
  b=b+(1.0/i);

|