I need help writing a program containing arrays. The problem is the program must also use <iomanip> to calculate salaries. I cannot get the two together without errors. I can write an array and get it to print out in tabular format. I cannot get it to count. Pleeze help.
dude, you have to give a little bit more details on your program.
what exactly should be the inputs and what outputs do you want.
though i think its strange that iomanip will be needed to calc salary.
your subject name "C++" For a moment i got confused, i thought i was on a COBOL site.
Last edited by ihsir; 04-22-2002 at 01:49 AM.
iomanip is usually used for formatting output. You shouldn't need it to calculate. Salary calculation is done with basic math. Are you declaring an int or char array to store double values? That won't work correctly.