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

Write a c++ program to display pass and fail for three student using static member function

0 Answers  


Can we have a private virtual method ?

8 Answers   Ness Technologies,


What is encapsulation?

17 Answers   TCS,


what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....

6 Answers  


What is the difference between pass by reference and pass by value?

12 Answers   Pfizer, TCS,






how to find the largest of given numbers in an array

2 Answers  


What is the different between Applet and Application?

2 Answers  


What is a scope operator and tell me its functionality?

3 Answers   emc2,


Difference between vector and array

2 Answers  


How many types of access specifier in c# and vb.net?

1 Answers   Infosys,


What is difference between polymorphism and inheritance?

0 Answers  


what is data abstraction with example.

1 Answers  


Categories