Question: Writing Programs (26 Marks) Create python program using Anaconda Navigator Jupyter Note Book. The file name should be your ID_Name. After the completion, download the

 Writing Programs (26 Marks) Create python program using Anaconda Navigator Jupyter

Writing Programs (26 Marks) Create python program using Anaconda Navigator Jupyter Note Book. The file name should be your ID_Name. After the completion, download the notebook file and upload it in the link given in E-learning (8 Marks) 1. Bank Muscat asked you to create a python program to calculate bonus that will be given to each employee at the end of the year. Write a python program using chained conditional statements to do the following. a. Accept salary and class grade of the employee. b. The class grade of the employee should be either 1 or 2 or 3. c. If the class grade of the employee is 1, then percentage is 0.10 d. If the class grade of the employee is 2, then percentage is 0.20 e. If the class grade of the employee is 3, then percentage is 0.30 f. If class grade other than 1, 2 or 3, display a message "Invalid class Grade entered g. Calculate and display the GrossSalary using below formula GrossSalary - Salary + (Salary * Percentage) h. Display salary and the Gross salary as given in the sample output. Sample output Enter Your Salary: 2000 Enter Your Class Grade: 2 The salary is : 2000.0 and the Gross salary is: 2400.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!