Calculates how much an employee would earn over a period

Assignment Help Programming Languages
Reference no: EM131299306

ASSIGNMENT

Write a program that calculates how much an employee would earn over a period of time (in months), if, every month, the employee' pay-per-hour rate is one dollar more than the month before (so if his starting perhour rate is 7.25, next month it will be 8.25, next month 9.25, and so on). The employee is going to work 20 hours per week, 4 weeks per month.

The program should input from the user and validate both number of months (which should be a positive integer larger than 0) and the pay-per-hour rate (which should be a floating-point number larger than $7.25 the minimum federal wage pay-per-hour rate). For each one of these values; if the value is wrong, the program should repetitively ask for that value until the value entered is correct. The program should confirm/output the correct value. See the INPUT number of months and INPUT pay-per-hour rate in the sample run table below.

The program should display/output a table (the table lines are not required) that shows for each month the employee's salary, and show the total pay at the end of the period. The output should be displayed in dollar amounts. Format your output to have a dollar sign ($) and the amount (with 2 decimals after the decimal point).

Reference no: EM131299306

Questions Cloud

Create a third subclass called phone that also extends book : Then create a third subclass called Phone that also extends the Book class. The Phone class should keep track of the number of yellow pages and the number of white pages in each phone book.
What is the reported accuracy : There is some error due to Internet delays, but the display even tells you roughly how accurate the time on the screen is. Look up the time for your state. What is the reported accuracy?
What are general tradeoffs involved in waiting line decision : What are the general tradeoffs that are involved in waiting line decisions?- Who needs to be involved in assessing the cost of customers waiting for service?
Resulting from technological progress : Suppose the growth rate of GDP in the United States is 4.2%. If 2.9% and 1.3% of GDP growth are due, respectively, to capital and labor growth, the amount resulting from technological progress is
Calculates how much an employee would earn over a period : Write a program that calculates how much an employee would earn over a period of time (in months), if, every month, the employee' pay-per-hour rate is one dollar more than the month before.
How many time should be order to supplier through inventory : This is the critcal item how to solve through MUSIC 3D or EOQ. How many time should be order to supplier through inventory carrying cost.
Prepare an eps ebit analysis of the assigned company : Prepare an EPS-EBIT analysis of the assigned company for the project.- Discuss proposed changes that you are recommending that the company make, based on your research and work on strategic plan elements.
Components of an application implementation plan : How can an implementation plan also help in ensuring a smooth implementation process? What are some key components of an application implementation plan?
How would you measure a patient''s pain : Help out the VA: how would you measure a patient's pain?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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