Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 &#8722; 48.0 ) * rate * 1.5;
You are required to use a loop to produce the sample output
as given below.



Write a C program to calculate the salary of each employee in your company. You need to input the ..

Answer / rakesh patil

write a c++ program to calculate employee salary using
structure

Is This Answer Correct ?    28 Yes 5 No

Post New Answer

More C++ General Interview Questions

What is the return value of the insertion operator?

0 Answers  


What are the advantages of prototyping?

0 Answers  


What are pointer-to-members? Explain.

0 Answers   iNautix,


When does a name clash occur in c++?

0 Answers  


What is a namespace in c++?

3 Answers  


Should the member functions which are made public in the base class be hidden?

0 Answers  


What is difference between initialization and assignment?

12 Answers   HCL, HP, Infosys,


reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it

2 Answers  


Does c++ have a hash table?

0 Answers  


What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?

1 Answers   Yahoo,


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

0 Answers  


What are default parameters? How are they evaluated in c++ function?

0 Answers  


Categories