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 |
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
Enter n no. of element and delete value from desire position
When copy constructor can be used?
What is a wchar_t in c++?
What is decltype c++?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
How compile and run c++ program in turbo c++?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
How can you quickly find the number of elements stored in a static array?
What is class in c++ with example?
What are the various compound assignment operators in c++?
How do you print for example the integers 3,2,1,5,4 in a binary tree within the console in format where it looks like an actual binary tree?