Concept explainers
Prepare a payroll earnings statement for the sales force at the Arctic Ice Company. All of Arctic's employees are on a straight commission basis of
a.
b.
c.
Use the test data in Table 4-2 to test the program.
Want to see the full answer?
Check out a sample textbook solutionChapter 4 Solutions
Computer Science: A Structured Programming Approach Using C, Third Edition
- draw the process flow for calculating the Income tax of an iemployee. the income tax to be paid by the employee as per the criteria given below: the employee as per the criteria given below: Slab rate IT rate Upto Rs. 50,000 Nil Upto Rs. 60,000 10% on additional amount Upto Rs. 1,50,000 20% on additional amount Above Rs. 1,50,000 30% on additional amount Hint: - Income tax calculation formula: Slab rate(percentage) / Annual income * 100 Annual Income calculation formula : monthly income * 12 Final output : Name of the Employee: Employee ID number: Monthly income : Annual income : Tax amount need to pay :arrow_forwardUsing C++ Create the IPO chart(s) and flowchart(s) for the following problem set: A university keeps a record for all students. Assume the following basic information is required for each student in this order. Student ID, First Name, Last Name, School, Department and Student grades (for all courses). For Student Grades, courses are graded out of 100%, so an example of a valid score is 70. There should also be a field to check if a student is active or inactive, and if receiving government tuition assistance. You are required to develop a simple application that allows students: To register for/with the service Update their personal information Check their grades for their academic life.arrow_forwardthis code is not reading the input in doing Update vaccine quantities. The system should allow the employees to select a particular vaccine and indicate either received or distributed quantity. In either case, the quantity of the selected vaccine needs to be updated accordingly in the vaccine.txtfile.E.g. Assume that the initial quantity of Pfizer vaccine in vaccine.txt file is 1 million. When the company receives a new stock, this quantity has to be added to the existing quantity of 1 million in the vaccine.txt file. In the case where the vaccines are distributed to hospitals for vaccination, the distributed quantity has to be subtracted from the quantity available in the vaccine.txt file.Note: Whenever a vaccine is distributed to hospitals, its code and the quantity distributed need to be recorded into a text file named as dist.txt. Each vaccine is expected to be distributed more than once. Hence, while testing the program, there should be at least 10 records created in the…arrow_forward
- Display the cost of landscaping a backyard with sod that is sold by the square foot and fencing that is sold by the foot. The input will be the length and width of the backyard, the price of sod per square foot and the price of fencing per foot.arrow_forwardLast Name Dev Hours Review Date Rating Salary Bonus Brody 6 1/5/2018 2 $ 19,840 Alex 8 4/1/2018 5 $ 26,700 Ashley 1 7/1/2018 4 $ 33,200 1. Use the logical if function to pay a bonus. You determine the rules for the bonus. List the rules and your steps. For example, you may use the employee rating to align with a specific bonus percentage such as 2% for a 2 rating, 5% for a 5 rating, etc.arrow_forwardOn reaching the railway station, you find that the train you wanted to catch is just to start and there is hardly any time for purchasing the ticket. The same situation faced by many people in our country. You have to do data analysis task for which you will record responses from N people and then print your report accordingly. User enter option a for “Rush to train to catch it and inform T.T at next stop, b for” Catch the train and perform journey without ticket”, c for “purchase the ticket first otherwise wait for next train”, and d for “Miss the train and take ticket for next train “.On the basis of responses print in your report about the habit of our countrymen. If responses of any two options are equal then print it in either or form. If more than two responses are equal or having difference <=1 then print no conclusion drawn. write c code and algorithm for the programarrow_forward
- All objectives are important. Truer/Falsearrow_forwardUse python please. Include bounds and risk. You are the manager of a £100 million portfolio, and you have 6 investment options: - First Mortgages: return 9% and risk score 3- Second Mortgages: return 12% and risk score 6- Personal Loans: return 15% and risk score 8- Commercial Loans: return 8% and risk score 2- Government Securities: return 6% and risk score 1- Saving Account: return 3% and risk score 0 The current regulation requires that the amount allocated in second mortgages and personal loans (combined) should not exceed the amount allocated in first mortages. Given this information: a) Ignoring the risk involved in the different investment options, what is the profit maximizing allocation of resources? What are the expected profits? b) Now, you have to consider the risk associated with the investments. The average risk of your portfolio cannot exceed 5. What is the profit maximizing allocation of resources? What are the expected profits? The average risk is computed as…arrow_forwardWrite three functions that are the “inverses” of to_secs:1. hours_in returns the whole integer number of hours represented by a total number ofseconds.2. minutes_in returns the whole integer number of left over minutes in a total number ofseconds, once the hours have been taken out.3. seconds_in returns the left over seconds represented by a total number of seconds.You may assume that the total number of seconds passed to these functions is an integerarrow_forward
- I want the algorithm for this questionarrow_forwardPlease complete the exercise! Thank you, i am trying to check my workarrow_forwardThe Marketing team of InstantRide wants to know that how many discounts have been offered for each ride. You need to calculate this information for each travel where a discount is applied and return two columns: TRAVEL_ID and DISCOUNT_AMOUNT. In addition, you need to return the calculation as a money value using the ROUND function to 2 decimals.arrow_forward
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE LProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
- New Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage Learning