Looping, C/C++ Programming

Assignment Help:
#questiStarting with a blank solution, write a program to prompt the user for an employee number, hourly rate and hours worked. Compute and display the employee number, gross weekly pay and net weekly pay. Gross weekly pay is calculated as hours worked times rate for the first 40 hours, plus hours times 1.5 the rate for any hours over 40. Net pay is gross minus withholdings. Withholdings is calculated as 28 percent of gross pay if gross pay is over $1,000, 21 percent of gross pay if gross pay is $1000 or less. All input from the user should be verified as valid. Hourly rate must be greater than $7.25 and less than $100.00. Hours worked must be greater than 0 and less than 120. If the user enters invalid data display and appropriate error message and ask the user to re-enter. Use a post test loop to repeat this process until the user enters 9999 the program should display a total number of employees entered, total hours worked, average hours worked, total net pay and total withholdings. All numeric output should display in fixed notation with two decimal places.... on..

Related Discussions:- Looping

Loops, how to get plus asterisk pattern

how to get plus asterisk pattern

Mobile problem, program that decodes sending smuggler''s string

program that decodes sending smuggler''s string

Define functions with arguments and return values, Define Functions with ar...

Define Functions with arguments and return values? The earlier category functions receive values from the calling function through arguments but do not send back any value rath

Default value functions, Default Value Functions,  When declaring a functio...

Default Value Functions,  When declaring a function we can specify a default value for each parameter. This value will be used if that parameter is left blank when calling to the f

Computes the amount of postage count even or odd, (a) Write a procedure (co...

(a) Write a procedure (count-even n) that counts the number of even digits in the decimal representation of the number n. For example, (count-even 234) should return 2. (b) Writ

Explain operator overloading, Explain Operator Overloading It is one ty...

Explain Operator Overloading It is one type of Polymorphism, an significant feature of object-oriented programming .Polymorphism means one thing having many forms, i.e. here an

#superASC2 SRTING COST, A string S is said to be "Super ASCII", if it conta...

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci

Define the int data type of c language, Define the Int Data Type of C Langu...

Define the Int Data Type of C Language? The int is used to define integer numbers. The Integers are whole numbers with a range of values supported by a particular machine and t

Inside and outside type casting, depth description of the inside and outsid...

depth description of the inside and outside typecasting

Write Your Message!

Captcha
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