# include <iostream>
using namespace std;
int main()
{
double N,i,suma=0;
cout<<"Ingrese Denominador Final:";
cin>>N;
for (i=1;i<=N;i++)
{
suma = suma + 1/i;
}
cout<<"La Suma Es:\a"<<suma;
system("pause");
}
Suma Infinita
ej. 1 + 1/2 + 1/3 + ... + 1/N