Home > Back-end >  Not the problem, a great god help me well
Not the problem, a great god help me well

Time:09-16

Come on come on, come on you,

CodePudding user response:

#include
using namespace std;
Int main ()
{
Int n=0;
Float e=1.0;
Cin> n;
For (int I=1; I<=n; I++)
{
Float s=1.0;
For (int j=1; j<=I; J++)
{
S=s * j;
}
E=e + 1/s;
}
Cout}
  • Related