Asked by Anonymous
write a payroll program that promt a user to enter his name,hourly rate,working hours in the week and display the amount earning by each employee in Rand.user is not allowed to enter any negative value for hourly rate and working hours.
Answers
Answered by
MathMate
We would better help you if you could specify the help you need is with syntax or logic.
The best route is to post what you already have written if you have already started (pseudocode or code).
If you have not yet started, you need to tell us what you have learned so far. There are many ways to write the same program using different tools.
The best route is to post what you already have written if you have already started (pseudocode or code).
If you have not yet started, you need to tell us what you have learned so far. There are many ways to write the same program using different tools.
Answered by
Emmah
Program payroll (input,output);
{constants declaration}
const
Basic pay=800
{variable declaration}
var
hours:integers;
Pay per day:integer;
Basic pay:integer;
allowances:integer;
deduction:integer;
a,b,c,d:integer;
Gross pay:integer;
Net pay:integer;
{program block}
begin
Writeln('enter hours worked,);
Readln(hours worked);
Writeln('enter a');
readln(a);
................................................................
{constants declaration}
const
Basic pay=800
{variable declaration}
var
hours:integers;
Pay per day:integer;
Basic pay:integer;
allowances:integer;
deduction:integer;
a,b,c,d:integer;
Gross pay:integer;
Net pay:integer;
{program block}
begin
Writeln('enter hours worked,);
Readln(hours worked);
Writeln('enter a');
readln(a);
................................................................
Answered by
value
Payroll
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.