The bonus is $1000 plus 2% of the amount above $7000 of the employee's annual salary. Assume that every employee has annual sa | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

The bonus is $1000 plus 2% of the amount above $7000 of the employee's annual salary. Assume that every employee has annual sa

2nd Oct 2021, 4:50 PM
اية ناصر ابو موسى
اية ناصر ابو موسى - avatar
6 Answers
+ 2
If you really want to get help solving something, you need to: 1. Post a complete problem 2. Post your code/attempt
2nd Oct 2021, 4:56 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 2
اية ناصر ابو موسى Mate this is not a complete problem. You need to at least include desired input/output Also, where is your attempt?
2nd Oct 2021, 5:17 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 2
YOUR ATTEMPT?? Nobody here will solve your homework for you, you need to make some effort yourself before asking others for help.
2nd Oct 2021, 5:32 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
The bonus is $1000 plus 2% of the amount above $7000 of the employee's annual salary. Assume that every employee has annual salary above $7000.
2nd Oct 2021, 5:13 PM
اية ناصر ابو موسى
اية ناصر ابو موسى - avatar
0
Part two Solve the following questions 1- Given the monthly salary of an employee, write an algorithm to compute the bonus. The bonus is $1000 plus 2% of the amount above $7000 of the employee's annual salary. Assume that every employee has annual salary above $7000. 2- Write an algorithm that computes the tax and tip on a restaurant bill. The algorithm should ask the user to enter the charge for the meal. The tax should be 6.75 percent of the meal charge. The tip should be 20 percent of the total after adding the tax. Display the meal charge, tax amount, tip amount, and total bill on the screen. 3- You are given a list of students' names and their test scores. Design an algorithm that does the following: a. Calculates the average test scores. b. Determines and prints the names of all the students whose test score is below the average test score. c. Determines the highest test score. d. Prints the names of all the students whose test score is the same as the highest test score. (You must divide this problem into subproblems as follows: The first subproblem determines the average test score. The second subproblem determines and prints the names of all the students whose test score is below the average test score. The third subproblem determines the highest test score. The fourth subproblem prints the names of all the students whose test score is the same as the highest test score. The main algorithm combines the solutions of the subproblems.)
2nd Oct 2021, 5:30 PM
اية ناصر ابو موسى
اية ناصر ابو موسى - avatar