this is a python code: QUESTION 3: Imagine that the IRA is giving stimulus package in the...

50.1K

Verified Solution

Question

Programming

this is a python code:

QUESTION 3:
Imagine that the IRA is giving stimulus package in the COVID-19season. The package amount is determined by the number of adults inthe family and the total amount of salary the family gets.

Each adult will get 1200 dollars if the total salary is 100000or less.

Each adult will get 800 dollars if the total salary is 150000 orless.

Write a python program to ask the user the number of adults inthe family and total number of family salary and determine thetotal amount of stimulus package the IRA will provide for thatfamily.

QUESTION 4:

Write a program that will ask user length and width of a righttriangle and find the area of the right angled triangle. Theformula for finding the area of right angle triangle is

ab/2. Also find out the result if you calculate as (ab)/2. Is itthe same? If it is same, why it is the same. If it is not the same,why it is not the same.

Answer & Explanation Solved by verified expert
4.0 Ratings (660 Votes)
Question 3Source CodeOutputCode to Copy refer above    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students