Forum: C++ Dec 5th, 2004 |
| Replies: 10 Views: 2,852 I need some help: how can I do this:
Write a program to find out how many terms of the series:
1 + 1/2 + 1/3 + 1/4 +.... are needed before the total first exceeds 5. |
Forum: C++ Oct 9th, 2004 |
| Replies: 3 Views: 1,913 Little help please:
cout << "loop.\n"; does this play any role or its just an output -> "n"
I didn’t understand this part too:
min = max = number;
Why did we have to equal the min and... |