Design a program using C++ language to implement the following requirements: Calculate the net salary for...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Design a program using C++ language to implement the following requirements: Calculate the net salary for an employee. The net salary details are: basic salary, allowance, deduction and extra bonus according to her/his category. Category CAT 1 CAT 2 CAT 3 Others Extra bonus 300.65 BD 200.7 BD 60.8 BD 35.3 BD Use LOOP to implement the repetition constructs. Assume the number of employees = 10. Use SWITCH..CASE to implement the selection construct. • The salary = salary + allowance - deduction + extra bonus. Use the floor function to round down the net salary for each employee. Design a program using C++ language to implement the following requirements: Calculate the net salary for an employee. The net salary details are: basic salary, allowance, deduction and extra bonus according to her/his category. Category CAT 1 CAT 2 CAT 3 Others Extra bonus 300.65 BD 200.7 BD 60.8 BD 35.3 BD Use LOOP to implement the repetition constructs. Assume the number of employees = 10. Use SWITCH..CASE to implement the selection construct. • The salary = salary + allowance - deduction + extra bonus. Use the floor function to round down the net salary for each employee.
Expert Answer:
Answer rating: 100% (QA)
include include using namespace std int main const int numEmployees 10 ... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these computer network questions
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Consider a project with the following information: Year After-tax After-tax Cash Flow Accounting Profits operations 1 $799 $750 2 150 1,000 3 200 1,200 Consider a project with the following...
-
Hi, the task is to critically evaluated two or more types of market segmentation, and applied to own organisations customer base. The guidance says to start with a general explanation of the topic -...
-
Using the relations in Prob. 4145, determine the explosive energy of 20 m3 of steam at 10 MPa and 500C assuming the steam condenses and becomes a liquid at 25C after the explosion. To how many...
-
How would a restaurant's direct and indirect costs differ from those of a manufacturer? For which type of organization are direct costs more important, and for which type are indirect costs more...
-
In 2015, the city of San Francisco enacted an ordinance that required health warnings on advertisements for certain sugar-sweetened beverages (SSBs) that read: WARNING: Drinking beverages with added...
-
Perform vertical and/or horizontal analysis of the statements and identify two things that appear to be unusual and could be possible symptoms of fraud. The balance sheet and income statement for ABC...
-
Vanessa went to Florida and purchased a laptop for US$920.00 by converting his Canadian money at an exchange rate of C$1 = US$0.9254. After a month, he returned to Vancouver but the exchange rate...
-
Bong, Harry and Mallu formed a partnership to carry on the business of an ethnic store in Bangkok. They are to receive equal shares of the profits and can make drawings during a year, not exceeding...
-
1)How has the global pandemic impacted the importance of the job skill you are presenting? 2)Future career you hope to have(business - finance), if you think this skill is a strength or weakness of...
-
You are given the following cost data: If the price of output is 12, how many units of output will this firm produce? What is the total revenue? What is the total cost? Will the firm operate or shut...
-
A mining companys land concession in Angola incorporates five major mines that extract copper. The productivity of each mine is as follows: The company must decide how many mines to operate. Assume...
-
Why are Generally Accepted Accounting Principles (GAAP) needed?
-
Why do not-for-profit organizations use a fund accounting system?
-
What are the uses of profits for health care organizations?
-
Warnerwoods Company uses a perpetual inventory system. It entered into the following purchases and sales transactions for March. Date Activities Units Acquired at Cost 200 units @ $53.00 per unit 275...
-
Wholesalers Ltd. deals in the sale of foodstuffs to retailers. Owing to economic depression, the firm intends to relax its credit policy to boost productivity and sales. The firms current credit...
-
Deborah purchases a new $30,000 car in 2012 to use exclusively in her business. If Deborah does not elect to expense or take bonus depreciation in 2012 and holds the car until it is fully...
-
Greg died on July 1, 2012, and left Lea, his wife, a $50,000 life insurance policy which she elects to receive at $5,000 per year plus interest for 10 years. In the current year, Lea receives $6,200....
-
Ken (age 31) and Amy (age 28) Booth have brought you the following information regarding their income, expenses, and withholding for the year. They are unsure which of these items must be used to...
-
Reconsider the data of Problem 31. Data from Problem 31 The following three investment opportunities are available. The returns for each investment for each year vary, but the first cost of each is...
-
The following three investment opportunities are available. The returns for each investment for each year vary, but the first cost of each is $20,000. Based on a future worth analysis, which...
-
Explain the relationship between the finite sample \(F\)-test and the large sample \(\chi^{2}\)-test, and the assumptions under which each is suitable.
Study smarter with the SolutionInn App