Calculate the total wage of the worker for the week

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

Please write a C++ program for this problem

An hourly-paid worker have day shift pay rate of $12.50. If the worker works at night, he is paid night shift rate of $17.25.

Ask the user to input the number of hours worked in day and night shift for the week.

The number of hours he or she works at each shift may be different. Calculate the total wage of the worker for the week.

Format the output of decimal numbers to two decimal places.

Here is a sample run

Enter number of hours worked during day : 25

Enter number of hours worked during night :19

Weekly wage earned at day shift : $ 312.50

Weekly wage earned at night shift : $ 327.75

Total weekly wage = $ 640.25

Reference no: EM132101146

Questions Cloud

Marketing communications industry : What are relevant issues within the marketing communications industry.
Implement the account class which contains two private data : The calculateFutureBalance function, which takes annual interest rate and number of years, and then calculates the future balance for the given period.
Learning needs of individuals and teams : How does collecting regular feedback on the performance of team members, from relevant sources assist managers in identifying the learning
Interesting pamphlet on customer relations : Ellen, who runs a successful nail salon, ran across a very interesting pamphlet on customer relations.
Calculate the total wage of the worker for the week : An hourly-paid worker have day shift pay rate of $12.50. If the worker works at night, he is paid night shift rate of $17.25.
Successful with retention of repatriates : How can employers be more successful with retention of repatriates?
Advantages and disadvantages of an organization : What would be advantages and disadvantages of an organization's Human Resources department aligning
Create visually appealing document that tells a story : This next project requires you to consider how information and data can be composed to create a visually appealing document that effectively tells a story
Write a procedure that accepts pointers to two arrays : Write a procedure that accepts pointers to two arrays of double words and the size of both arrays (The arrays are equal in length.).

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