Write a C program to calculate the salary of each employee
in your company. You
need to input the hours worked and the hourly rate. The
company pays 1.5 times
the hourly rate for all hours worked in excess of 48 hours.
Use the formulas below
to calculate the salary:
if employee worked less than 48 hours
salary = hours * rate;
if employee worked more than 48 hours
salary = 48.0 * rate + ( hours − 48.0 ) * rate * 1.5;
You are required to use a loop to produce the sample output
as given below.
Answer / rakesh patil
write a c++ program to calculate employee salary using
structure
| Is This Answer Correct ? | 28 Yes | 5 No |
How is memory managed in C++?
What sorting algorithm does c++ use?
What are the storage qualifiers?
Is sorted c++?
What compiler was used?
What is the difference between a baller and a reference in C++?
What are c++ manipulators?
Which software is best for c++ programming?
what is the size of this class class size { public: char data1; double d; int data2; char data3; double data4; short data5; }; please explain the padding for these double variables.
What is the best way to take screenshots of a window with c++ in windows?
Is there a new/delete equivalent of realloc?
What are the unique features of C++.