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.

Answer Posted / rakesh patil

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

Is This Answer Correct ?    28 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is endl c++?

1034


What is std :: endl?

972


which operator is used for performing an exponential operation a) > b) ^ c) none

986


Keyword mean in declaration?

1003


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

1060


What is c++ vb?

1028


Refer to a name of class or function that is defined within a namespace?

1048


What are static type checking?

1010


Explain the scope of resolution operator.

1049


What is the use of this pointer in c++?

969


What is capacity in vector in c++?

933


What is size of string in c++?

929


How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?

1221


When you overload member functions, in what ways must they differ?

989


What are manipulators used for?

1037