Calculates an employees wage for a week

Assignment Help C/C++ Programming
Reference no: EM13189492

Write a program that calculates an employee's wage for a week. An employee's wage is calculated as follows:

(I) if the number of hours is less than or equal to 40, then the total payment is hour *rate:

(2) if the number of hours is greater than 40 then the overtime pay is I% times your regular rate of pay;

(3) If the week has public holiday and if the number of hours is greater than 40 then the overtime pay is I% times your regular rule of pay plus 8 *rate for holiday pay

You need to prompt user to input three numbers: two double numbers: one is hour and the other is rate (per hour rate); one integer number: either Ito represent holiday week or other number to represent a regular week. Then. according to the values of hours, calculate the total pay

Enter hour:: 4S.$

 

Enter hour rate: SI0.S8

 

Is this a public holiday week (1 - ye-.      1

 

Ou worked 45.58 hour: this weak.

 

our hour rate I: $10.50. molar pay: 5420.00 ertlne pay: $86.63

 

MSc holiday pay: $84.00

 

eta! pay: SS90.63

rest any key to continue .

SAVE the file as:        Ins gn I .epp

 

PRINT assign Lepp

 

E-MAIL assign Lepp

Reference no: EM13189492

Questions Cloud

How far is the ship from the base of the lighthouse : From the top of a 175 ft lighthouse, the angle of depression to a ship in the ocean is 23°. How far is the ship from the base of the lighthouse? Round your answer to the nearest foot.
What are the lengths of the edges giving the minimum surface : A closed rectangular box has a volume of 32 cubic centimeters. What are the lengths of the edges giving the minimum surface area?
Will resources flow toward or away from the bakery good : With current technology, suppose a firm is producing 400 loaves of banana bread daily. Also assume that the least-cost combination of resources in producing those loaves is 5 units of labor, 7 units of land, 2 units of capital, and 1 unit of entre..
Find the radius of the tank to the nearest hundredth : a spherical tank has a capacity of 750 gallons. using the fact that one gallon is about .1337 ft^3, find the radius of the tank to the nearest hundredth of a foot.
Calculates an employees wage for a week : Write a program that calculates an employee's wage for a week. An employee's wage is calculated as follows - if the number of hours is less than or equal to 40, then the total payment is hour rate
Find the cost of manufacturing of each article : He estimates the profit on his outlay including the manufacturing of rejected articles to be 20 %.Find the cost of manufacturing of each article.
Bird-foot delta : Why is a bird-foot delta like that of the present-day Mississippi below New Orleans likely to change naturally toward one with the shape of an equilateral triangle like the upper-case Greek letter delta (?)?
Find the two that have the maximum product : Of all numbers whose sum is 50, find the two that have the maximum product. That is, maximize Q=xy, where x+y=50
What could the magazine do in order to maximize profit : A news magazine offers students a discount on the regular subscription rate. The total number of subscriptions is optimal, and, at the current prices, the marginal revenue from the last subscription sold to a student is $6, while the marginal reve..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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