Ene Uran 638 Posting Virtuoso

Try something like that:

// power series dev using a loop
// value of e = 2.71828182846 

#include <stdio.h>

int main()
{
    int n, f;
    float x;
    float e;

    x = 1.0;
    f = 1;
    e = 0.0;
    //e = 1+x/1!+x2/2!+x3/3!+x4/4! ...
    //e = 1 + x * x*2.0/2 + x*3.0/(2*3) + x*4.0/(2*3*4) ...
    for ( n = 1; n < 11; n++ ) {
        f *= n;  // factorial, don't exceed 12!
        e += x*n/f;
        printf( "%f  %d  %d\n", e, n, f);
    }

    getchar(); // wait
    return 0;
}
deceptikon commented: Giving away answers is not being helpful -3
Ene Uran 638 Posting Virtuoso

I find video tutorials simply too distracting, usually put on by some ugly dude with poor pronunciation.

Ene Uran 638 Posting Virtuoso

What happens to a string that should contain a newline character?

Ene Uran 638 Posting Virtuoso

Well, better late than ever!
Congratulations and good luck root

jwenting commented: pathological zombie master +0
Ene Uran 638 Posting Virtuoso

Where does Red Tape come from?

jwenting commented: you should know better than to become a thread hijacking zombie master +0
Ene Uran 638 Posting Virtuoso

Please vote for jbennet, he is such a cute looking lad!

Ene Uran 638 Posting Virtuoso

Here is McCain's best chance to win the election! Obama has to leave the campaign for a few days to tend to his ailing grandmother, the woman that raised him.

Dave Sinkula commented: Y'know, as blatantly partisan as I am I haven't taken it upon myself to use this as political fodder -- for or against. -3
Ene Uran 638 Posting Virtuoso

A flat TV is heavier and makes a better paper weight.

John A commented: Now that's just BS. Have you ever picked up a 30" CRT television? -3
Ene Uran 638 Posting Virtuoso

Using those arguments would make the pilot of a Navy fighter bomber "accidentally" dropping bombs on civilians a mass murderer.

There is no sense of decency amongst smear mailers!

Dave Sinkula commented: I'd say, "nice attempt at moral equivalence, but no." -3
Ene Uran 638 Posting Virtuoso

I think the new Pope is quite hip! Let's support the poor fellow with your tax deductible donation!

Ene Uran 638 Posting Virtuoso

Merry Valentine's Day everyone.

A note to iamthwee:
You put your bra on backwards again dear!

iamthwee commented: Note to yourself, God you painted yourself the wrong colour. -2
Ene Uran 638 Posting Virtuoso

Because Sneezes can reach speeds of over 200mph, and your eyeballs will blow out of your skull!

I didn't know that!

The information superhighway has no rest stops available.

Ene Uran 638 Posting Virtuoso

Cal Thomas is one of the many smug neocons in the US news media, that has beaten the drums to get us into invading Iraq. I am sure he never shed one tear or even felt sad for the many Muslims that got killed in this ill exercised adventure. His bias against Muslims is clearly reflected in his "the threat of more terrorism from a growing Muslim population" statement.

Let's face it, it was the immigrants that have made the USA the great country it is! England will in the long run gain from the same experience. Bigotry is just what it is, ugly bigotry!

iamthwee commented: I am no Nazi chump. In fact I find that comment quite upsetting as my great-grandpa died in a death camp... He slipped and fell off the watch tower. -2