## zoey101's Profile User Rating:

Reputation: 1 Apprentice
Group:
Members
Active Posts:
21 (0.03 per day)
Joined:
13-April 12
Profile Views:
326
Last Active:
May 19 2012 09:13 PM
Currently:
Offline

### Previous Fields

Dream Kudos:
0
zoey101 has not set their status

### Posts I've Made

1. #### In Topic: How to delete my "dreamincode" account?

Posted 19 May 2012

macosxnerd101, on 19 May 2012 - 08:52 PM, said:

Moved to Site Questions and Support.

You cannot delete your account. Just don't login anymore.

ok thank you.
2. #### In Topic: [C++] Harmonic Series

Posted 19 May 2012

SORRY FOR THE CONFUSION

THIS IS THE QUESTION:

In mathematics, the Nth harmonic number is defined to be 1 + 1/2 + 1/3 + 1/4 + ... + 1/N. So, the first harmonic number is 1, the second is 1.5, the third is 1.83333... and so on. Write an expression whose value is the 8th harmonic number.

THIS IS WHAT I HAVE COME UP WITH SO FAR:

```#include<iostream>
using namespace std;

int main() {
double sum=(

sum=1/(n+1)  [THIS IS WHERE I'M HAVING PROBLEMS IN I'M NOT SURE IF IT'S RIGHT OR NO BECAUSE WHEN I PUT IT IN IT COMES UP WITH ERRORS]

);
cout << sum << endl;
return 0;
```

}
3. #### In Topic: [C++] Harmonic Series

Posted 19 May 2012

i think it should be this:

```sum+((float)1/i);
```

but when i inserted it it comes up with errors
4. #### In Topic: [C++] Harmonic Series

Posted 19 May 2012

```#include<iostream>
using namespace std;

int main() {
double sum=(

MIDDLE (I DON;T NO WHT DOES HERE)

);
cout << sum << endl;
return 0;
}
```

PLEASE IGNORE THE QUESTION ABOVE I MISTAKLY PUTTED THAT INSTEAD OF THIS QUESTION
5. #### In Topic: [C++] Harmonic Series

Posted 19 May 2012

SORRI THIS IS THE RIGHT QUESTION:

In mathematics, the Nth harmonic number is defined to be 1 + 1/2 + 1/3 + 1/4 + ... + 1/N. So, the first harmonic number is 1, the second is 1.5, the third is 1.83333... and so on. Write an expression whose value is the 8th harmonic number.

Member Title:
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

E-mail:
Private

### Friends

zoey101 hasn't added any friends yet.