folk

View Paper
ESSAY DETAILS Words: 637
Pages: 2
(approximately 235 words/page)

Essay Database > Society & Culture > Religion
Income Tax Program Write a program to compute income tax for 10 employees using the following functions: void get_inputs (int *p_id, long *p_gross, long *p_deduc); Use get_inputs to input the following 3 values from the user: 1) employee id (100-999 are valid) 2) employee gross salary (0-200000 are valid) 3) employee deductions (0-gross amt are valid) void find_income_tax (long e_gross, long e_deduc, long *p_net, double *p_taxrate, int *p_tax); …

showed first 75 words of 637 total
Sign up for EssayTask and enjoy a huge collection of student essays, term papers and research papers. Improve your grade with our unique database!
showed last 75 words of 637 total
…printf ("IDttNetttTaxn"); for (i=1; i*SIZE; i++) { if (tax[i] * avg) printf ("%dtt$%ldtt$%.2lfn",id[i],net[i],tax[i]); if (tax[i] * max) { max = tax[i]; high_id = id[i]; } if (tax[i] * min) { min = tax[i]; low_id = id[i]; } } printf ("The highest tax paid is for id %d and is $%.2lfn", high_id,max); printf ("The lowest tax paid is for id %d and is $%.2lfn", low_id, min); } ------------------------------------------------------------------------ **Bibliography**