Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python 1. Write a program that asks the student to enter his grade between 0 and 100 inclusively and display the corresponding grade letter. The

Python
image text in transcribed
1. Write a program that asks the student to enter his grade between 0 and 100 inclusively and display the corresponding grade letter. The program will display Invalid grade if it is less than zero or greater than 100. 1 2. Assume the income tax of the employees of a company is calculated based on two factors: the total income and the number of children. Tax is calculated as follows: 10% if the income is less than 30,000. 20% if the income is greater or equal to 30,000 and the employee has three children or more. 30% if the income is greater or equal to 30,000 and the employee has fewer than three children. Write a python program that asks the user to enter his/her income and number of children then calculates and prints the amount of tax that he/she should pay

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

Students also viewed these Databases questions