--- In [email protected], "John Matthews" <jm5...@...> wrote:
>
> --- In [email protected], "ruhatadiyaman" <ruhatadiyaman@> wrote:
> >
> > thanks for all replies. i tried them but still the problem
> > is continuing. this is my code with 'unsigned long int';
> 
> If you just use double for your fak variable, you end up with this,
> which works for me (gcc):

Sorry - I left out the getch(), because on linux it comes from the curses 
library. If you need to wait for a key press, it might be better to use a 
stdio.h function eg.

    char s[10];
    :
    fgets(s, sizeof s, stdin);

which waits for enter/return to be pressed.

Reply via email to