Calculate the total wages for an employee

Assignment Help Basic Computer Science
Reference no: EM13208670

Design and create a program to calculate the total wages for an employee. An employee is paid $10 per hour for the first 40 hours. The employee is paid $15 per hour for every hour greater than 40 hours and up to 50 hours. The employee is paid $20 per hour for any hours above 50 hours. The program will ask the user to enter the total number of hours (double), and the program will calculate the total wages (show 2 digits to the right of the decimal point.) If the user enters an invalid number of hours (hours <= 0), then display an error message and terminate the program (use "return 0;" to terminate pgm).

Reference no: EM13208670

Questions Cloud

Explain what is the partial pressure of ethanol : If the total pressure is 1.8 atm, what is the partial pressure of ethanol?
Examine each of the principles discussed : Examine each of the principles discussed in Sec. 2.1.4 and tell whether they are so important (assuming that high performance is still desired).
Correlation between futures price and the commodity price : The correlation between futures price and the commodity price is 0.9. What hedge ratio should be uses when hedging a one month exposure to the price of commodity A?
What operations can be used on pointer variables : In C++, what operations can be used on pointer variables? Why use these operations?
Calculate the total wages for an employee : Design and create a program to calculate the total wages for an employee. An employee is paid $10 per hour for the first 40 hours. The employee is paid $15 per hour for every hour greater than 40 hours and up to 50 hours.
What is the break-even level of earnings under the program : What is the breakeven level of hour of work under the program I have gotten help on the first part of the question and found that the break even level of earnings was $140 and he would work for 20 hours/week.The other part
Write a complete main method that would print your last name : Suppose your name was George Gershwin. Write a complete main method that would print your last name, followed by a comma, followed by a space and your first name. Question 2 Declare a variable named myMenu suitable for holding references to Menu o..
Eliminate all systematic risk in the portfolio : What trade is necessary to archive(a) eliminate all systematic risk in the portfolio,(b) reduce the beta to 1.0, or(c) increase beta to 2.0.
Explain the acetone-bisulfite addition compound : What gas was evolved when you treated the acetone-bisulfite addition compound with hydrochloric acid?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Develop a web-based application to improve development

Develop a Web-based application to improve development and delivery of products and services. There are currently several incompatible systems related to the development and delivery of products and services to customers.

  Describing data-s confidentiality and integrity

They are asking candidates to describe briefly how they would satisfy StoreItRite's requirements as stated above. How would a successful candidate respond?

  Extended grep for regular expressions

That contain the word "as" exactly onceb) that contain the word "sa" more than once

  Program that accepts 10 integers and determines and prints

write a program that accepts 10 integers and determines and prints the smallest and largest integer input by the user. Your program should use at least the following four variable

  Maslow hierarchy of needs

Discuss and explain how the theory designates the team member roles and responsibilities also discuss how Maslow's Hierarchy of Needs applies to professional work dynamics.

  Compare five technologies for in-home internet access

Compare and contrast at least five technologies which are readily available for in-home internet access. You must consider practical as well as technical differences in your comparison.

  Business uses networks-computers-support business functions

Think about a business you are familiar with, one which urilizes networks and computers to support business functions. Make a list of ten important, specific items like computers, disks.

  Task manager to recognize and troubleshoot problems

Which system resources are probable to be at root of problem? How can you use system tools, like the Task Manager, to help recognize and troubleshoot these problems?

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  What are the modes

What are the modes, the conceptual models of transfer, the advantages, and the disadvantages of pass-by-value, pass-by-result, pass-by-value result, and pass-by-reference parameter-passing methods?

  List and describe three guidelines for sound policy

List and describe briefly the three guidelines for sound policy, as stated by Bergeron and Bérubé. Are policies different from standards? In what way? Are policies different from procedures? In what way?

  True or false on computer science

True or False 1. If a computer uses hardwired control, the microprogram determines the instruction set for the machine.

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