Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

PARTC Writing Programs (26 Marks) Create python program using Anaconda Navigator Jupyter Note Book. The file name should be YourID_Name. After the completion, download the notebook file and upload it in the link given in E-learning. (8 Marks) 1. Chase Bank wants to create a python program to calculate prizes that will be given to each customer at the end of the year. Write a python program using chained conditional statements to do the following: a. Accept the customer to input their salary and their class grade. b. The class grade of the customer is either A or B or C. c. If the class grade of the customer is A then the prize for that customer is 10% of the salary. d. If the class grade of the customer is B then the prize for that customer is 20% of the salary. e. If the class grade of the customer is C then the prize for that customer is 30% of the salary. f. If class grade other than A, B or C the following message will be displayed "Please enter a valid Class Grade" g. Display the salary and the prizes for the customer as given in the sample output. Note: Calculate the prize using below formula. prize = salary *(percentage/100.0) Sample output Please enter your Salary: 2000 Please enter your Class Grade: A Your prize for 2000.0 is: 200.0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions