Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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 then the prize for that customer is 30% of the salary f. If class grade other than A, B or 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 to Expert-Tailored 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

Recommended Textbook for

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

ISBN: 0201844524, 978-0201844528

More Books

Students also viewed these Databases questions

Question

1. Are my sources credible?

Answered: 1 week ago

Question

3. Are my sources accurate?

Answered: 1 week ago

Question

1. Is it a topic you are interested in and know something about?

Answered: 1 week ago