|
-
November 3rd, 2010, 11:30 AM
#1
help with c++
i need your help in creating a program that allows the user to enter a payroll code. The Program should search for the payroll code in the code in the file and then display the appropriate salary. If the code is not in the file, the program should display an appropriate message. Use a sentinel value to end the program.
if you can write it would be greatly appreciated
here is what i have so far(i need help writing the rest).
int main()
{
int payroll, salary, cont=1;
while (cont)
{
getPayrollCode(&payroll);
getSalary(payroll, &salary);
if (getUserReq())
{
cont=0;
}
}
return 0;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|