Program that displays the gross pay for one or more employee

Assignment Help Basic Computer Science
Reference no: EM131979192

Make a program that displays the gross pay for one or more employees. The program should allow the user to enter the number of hours the employee worked and his or her hourly pay rate. Use a negative sentinel value to stop the program. Employees are paid at their regular pay rate for hours worked from 1 through 37. They are paid time and on--half for the hours worked from 38 through 50, and double-time for the hours worked over 50. Use a program-defined function to calculate and return the employee's overtime pay. (Hint: If an employee earns $10 per hour and works 37 hours, the gross pay is $370.00. If he or she works 38 hours, the gross pay is $385.00. If he or she works 51 hours, the gross pay is $585.00.)

Reference no: EM131979192

Questions Cloud

What is its cost of equity after restructuring : How is the market price of its stock affected by the announcement? What is its cost of equity after restructuring?
Efficient for a company to utilize an rdbms : Explain why it may be more efficient for a company to utilize an RDBMS based on workforce skill and availability. Discuss how a company might be able
For years kodak had no competitors in us film market : For years Kodak had no competitors in the US film market. Which of the following deterred entrants from the US market?
Measurement in either inches or centimeters : Make a program that displays a measurement in either inches or centimeters. The program should allow the user the choice of converting a measurement
Program that displays the gross pay for one or more employee : Make a program that displays the gross pay for one or more employees. The program should allow the user to enter the number of hours the employee
Principles and processes of object-oriented analysis : How would the principles and processes of object-oriented analysis and design apply to the Satellite-Based Navigation application using any format?
Downloads from apple and android users combined : The company alleges that they had over 2 million downloads from Apple and Android users combined in 2015.
Cover the cost of the balance remaining on the? loan : What is the minimum price for which they can sell the copier so that they can cover the cost of the balance remaining on the? loan?
Difference between project scope and product scope : What is the difference between project scope and product scope. Give an example using a software application that one might build to illustrate your answer.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What are the server-side attacks

What are the server-side attacks? What are the techniques a developer can employ to minimize these attacks?What are some of the individual rights associated with information privacy? Do expectations of privacy change depending on the individual's env..

  Draw a flow chart, hierarchy chart

Draw a flow chart, hierarchy chart, and write pseudocode for the following problem. • A weather sensing system calculates & prints a report on the following: ? Average temperature ? Highest temperature ? Lowest temperature ?

  Recognize components of system cpu

Recognize the following components of your system: type of central processing unit (CPU), amounts of random access memory (RAM) and read-only memory (ROM), input and output devices, and types of storage.

  Fault tolerance and synchronous communication

For this exercise, reconcile these two principles by studying the architecture of fault tolerant applications.

  Coordinates of both the robots

A robot B wants to cross a road, while another robot A is moving from left to right. (Fig 1.2) Assuming that each robot can determine the (x, y) coordinates of both the robots, outline the program for each robot,

  How to create a virtual machine

You should be able to explain how to create a virtual machine, what options you have available to install an operating system in a virtual machine

  Security of the facilities

Write 2 pages of the physical security policy section for Home Depot regarding their security incident. Include the follow: Security of the facilities: -Physical entry controls -Security offices, rooms, and facilities

  Why can x not be the number of years since 1960

Find a function that models the data. Let x be the number of years after 1950 and let y be the number of degrees granted, in thousands.

  Do you consider these policies to be effective

Do you consider these policies to be effective?

  Charge of managing a local softball team

You are in charge of managing a local softball team, one in which there is a lot of turnover. While you have a couple of regulars, much of the team members come and go frequently. When it comes to organizing games, it is becoming more and more dif..

  Describe the types of computer hardware and software

For this essay, describe the types of computer hardware and software your employees will use, the type of network setup you will need between the two offices

  Compute and return to main totalrainfall and averagerainfall

It should also have two value-returning functions that compute and return to main the totalRainfall and averageRainfall.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd