Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


Question:

Write a program that prints a paycheck. Ask the program user for the name of the
employee, the hourly rate, and the number of hours worked. If the number of hours
exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly
rate on the hours exceeding 40. Be sure to use stepwi se
refine ment and break your solution into several functions. Use the int_name function
to print the dollar amount of the check.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer



More OOPS Interview Questions

What do you mean by abstraction?

0 Answers  


What is destructor example?

0 Answers  


what is multi level inheritance give n example ?

13 Answers   HDFC, Hulas Steel, Ness Technologies,


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

0 Answers  


why to use template classes in c++?

1 Answers  






ambiguity regulation of multiple inheritance with example.

1 Answers  


can we create and enter the data & hide files using programmes ?

2 Answers   Wipro,


Petrol pump mgt. system: To design a program that display an interface for the sale of the Petrol and then make the entries at the backend in the database.

1 Answers   Wipro,


What is the difference between abstraction and polymorphism?

0 Answers  


Why oops is important?

0 Answers  


What is Hashing and how is it done? Pictorial form?

2 Answers   emc2, Wipro,


What are benefits of oop?

0 Answers  


Categories