Calculate employee weekly pay

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

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: EM132432153

Questions Cloud

Number of potential team arrangements : When writing a C++ program that determines the number of potential team arrangements. You will need to use the double type for this computation.
Environmentally sustainable global economy : An environmentally sustainable global economy that limits the damage of climate change is a widely held goal.
Compare two to three commonly used intellectual assessments : Explain the effect of testing bias on the client in the private and school-based settings.Describe how intellectual and achievement assessment has progressed
Mitigate worst of the future climate change costs : Future costs of Climate Change are largely unknown what are some ideas that emerge from IPE that might help mitigate worst of the future "climate change costs
Calculate employee weekly pay : 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
Describing the history of International Financial Reporting : History details and all the changes regarding this Standard when and what changed made. Plus what was the exposures drafts of IAS 11 and describe requirements
Special discounts for students and pensioners : NuMetro has a special on movies for all members of the public but special discounts for students and pensioners. If pensioners or students buy a movie ticket
Grade for an assignment as a percentage : The program that computes a student's grade for an assignment as a percentage given the student's score and total points. The final score must be rounded up
Record the transactions in Speedy Transport Ltds journal : Speedy has a separate accumulated depreciation account for each of these assets except Land. Record the transactions in Speedy Transport Ltd.'s journal

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Optimize the preceding code for kathy

Optimize the preceding code for Kathy and find out the errors (if any). What would be the output of the preceding code, if the first number is 46 while the second number is 37?

  Write a C program that prints an n by n magic square

Write a C program that prints an n by n "magic square" (a square arrangement of the numbers 1, 2, ..., n2 in which the sums of the rows, columns, and diagonals are all the same). The user will specify the value of n.

  Write the copy-array procedure by a function

Write the C++ statement that dynamically creates an array of 10 components of type int and num contains the base address of the array

  Design customized mailing lists for marketing department

Marketing department requires to be able to design customized mailing lists, to send different messages to different types of donors. What system will best meet these requirements?

  Write a c++ program to accept an n*m matrix

Write a C++ program to accept an n*m matrix containing only 0 and 1 values, and then find it's biggest zero submatrix i.e. the biggest submatrix in which all the values are 0.

  Write a program that reads a word and prints the number

Write a program that reads a word & prints the number of vowels and consonants in the word. For this exercise assume ‘a', ‘e', ‘i', ‘o', ‘u', and ‘y' are vowels

  Write a loop that will step through the array

Write a loop that will step through the array you defined in question 1, displaying the contents of each element that doesn't contain a NULL pointer

  Why encapsulation and inheritance make programming difficult

Why do C++ capabilities such as polymorphism, encapsulation, and inheritance make programming difficult

  Define multiple precision arithmetic

Need a C++ Solution, utilizing a singly linked list is source of my struggles. A singly-linked list can be used to store large integers one digit at a time.

  Write c program that find average of two or more salaries

Write a C program that calculates and prints the average of two or more salaries entered by the user. The program should first prompt the user to enter the number of salaries to process.

  The limit on the amount of wage income

If the government raised the limit on the amount of wage income that is subject to the F.I.C.A. tax, this would: A. Move the Lorenz curve further from the line of income equality  B. Have no effect on the Lorenz curve

  Linked list with first node pointer p.

Complete the code for a function that replaces each occurrence of value x by value y in a linked list with first node pointer p.

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