>double Net(double n,double *i);
>double Pension (double *p, double n);
>double taxable (double *t, double i, double n, double p);
>double taxdue (double *td, double *t);
These aren't function calls, they're function declarations. You call those functions like so:
Net ( n, &i );
Pension ( &p, n );
taxable ( &t, i, n, p );
taxdue ( &td, &t );
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>scanf("%f",&n);
%f means float for scanf, not double. Try changing it to %lf and see if your output looks better.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401