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 abstraction in c++ with example?

0 Answers  


Is c++ map a hash table?

0 Answers  


What is array give example?

0 Answers  


What is == in programming?

0 Answers  


What is constant in c++ with example?

0 Answers  


Which coding certification is best?

0 Answers  


What do you mean by global variables?

0 Answers  


Explain the difference between struct and class in terms of access modifier.

0 Answers  


Can we distribute function templates and class templates in object libraries?

0 Answers  


What is else if syntax?

0 Answers  


What is the limitation of cin while taking input for character array?

0 Answers  


Should a constructor be public or private?

0 Answers  


Categories