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

How to calculate the age from the date of birth by using the program?

2 Answers   Accenture,


What causes polymorphism?

0 Answers  


Describe these concepts: Polymorphism, Inheritance and Abstraction.

0 Answers   TCS,


What is solid in oops?

0 Answers  


What is a friend function & its advantage?

1 Answers   MIT,






What is the expansion of OOPS?

24 Answers   TCS,


difference between static and non-static variables?

2 Answers  


What is the real time example of encapsulation?

0 Answers  


What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required

15 Answers   ISTS, Wipro,


features of OOPS

22 Answers   Ness Technologies, Satyam,


What are the access specifiers avaible in c++?

4 Answers  


What does oop mean in snapchat?

0 Answers  


Categories