Calculate employees weekly pay

Assignment Help Computer Engineering
Reference no: EM132210381

Question :

Write a program named question6c.cpp that demonstrates the use of the following functions. A C++ function named getName()prompts the user for two string values; first name and last name and return a combination of the two as one value.

The second function getHours()calculate employee's weekly pay, it must receive one argument, fullName, a string variable and a float value for the rate.

It must then prompt the user for hours worked for each day of the week, i.e. Monday - Friday and calculates the weekly pay.

Employees who have worked more than 40 hours that week will receive a bonus of 10% and those who have worked less than 40 hour will receive 10% less pay for that week.

Reference no: EM132210381

Questions Cloud

Responsible for ensuring free trade among businesses : The federal agency that is responsible for ensuring free trade among businesses and which investigates false, deceptive, and misleading claims in advertising
Write the program that meets the specifications provided : Write the program that meets the specifications provided. In addition to creating the classes specified, you'll need to create a main method.
Validate emoloyees reading from a txt file : Write a program in Java that validates emoloyees reading from a txt file.
What is meant by coaching and mentoring : What is meant by coaching and mentoring? Explain a situation when you were coached or mentored and a siutation when you were the coach or mentor.
Calculate employees weekly pay : A C++ function named getName()prompts the user for two string values; first name and last name and return a combination of the two as one value.
Trade regulation ruling is ruling made by the food : A trade regulation ruling is a ruling made by the Food and Drug Administration concerning a marketing practice and applies to all of the firms within industry
Find the weight of the displaced water : The amount of water displaced by an object, when completely immersed in it, is 100 ml. Find the weight of the displaced water.
Keep track of the players in a 3 by 3 basketball game : Write a program that keeps track of the players in a 3x3 basketball game.
Describe healthcare executive responsibilities to patient : In your own word describe the Healthcare Executive responsibilities to the patient, community, employees, profession.

Reviews

Write a Review

Computer Engineering Questions & Answers

  How does the surface temperature vary

Let air at a constant velocity of 15mis, a temperature of 300°C, and 1 atm pressure flow along a smooth, flat surface. Let the first 15 cm of the surface.

  Create a sql query that returns the names of the students

Write down a SQL query that returns the names of the students (lname, fname), and the major of the major with most students. If more than one major is tied for most students, then list all the names of the students from both majors (as well as the..

  A new business for a new environment the geek squad gives

a new business for a new environment. the geek squad provides help for all computing needs and is impacted by the

  What is the rule of three and why is it important

What is the difference between a forward_iterator and a bidirectional_iterator? What is the rule of three? Why is it important to follow this rule?

  Develop a sales-tracking program that enables a company

Develop a sales-tracking program that enables a company to keep track of its sales force's performance by quarter.

  Is the frame an outgoing or an incoming frame

What tells you that this is an outgoing frame? What is the source IP address of the network-layer header in the frame?

  What are two long term benefits of e-scm

What are two market trends occurring in SCM (Supply Chain Management) industry.

  Give instruction to draw a string consisting of the letter V

Give instructions to draw a letter V by drawing two line segments. Give instructions to draw a string consisting of the letter V.

  Discuss the social media features in software

Recommend ways to use social media in stakeholder management. This can include social media features in software such as chatter in salesforce.

  What information is exchanged in order to complete

Imagine a scenario that you go to a restaurant and pay the meal using your credit card.

  Problem related to the prevent thermal burn hazards

A spherical tank, with an inner diameter of 3 m, is filled with a solution undergoing an exothermic reaction that generates 233 W/m3 of heat and causes.

  What technologies would be necessary to facilitate plan

Explain how electronic document management is or could be used in your Information Systems class to eliminate all paper flow between the students and professor.

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