DESCRIPTION Please make sure you use python 3+ version to do all of your homeworks. Please use IF.ELIF to solve this problem: There are 7 people. Write a program to ask the user to enter the yearly income of each person. As the user enters an income, count and display the number of people who belong to each of the following groups 1JThose who made less than or equal to 30000 2) Those who made above 30000 and less than or equal to 50000 3) Those who made above 50000 and less than or equal to 75000 4) Those who made above 75000 Also, display count and display the total(Combined) earning made by all people.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 10PE
icon
Related questions
icon
Concept explainers
Question

If..elif

DESCRIPTION
Please make sure you use python 3+ version to do all of your homeworks.
Please use IF.ELIF to solve this problem:
There are 7 people. Write a program to ask the user to enter the yearly income of each person. As the user enters an
income, count and display the number of people who belong to each of the following groups
1JThose who made less than or equal to 30000
2) Those who made above 30000 and less than or equal to 50000
3) Those who made above 50000 and less than or equal to 75000
4) Those who made above 75000
Also, display count and display the total(Combined) earning made by all people.
Transcribed Image Text:DESCRIPTION Please make sure you use python 3+ version to do all of your homeworks. Please use IF.ELIF to solve this problem: There are 7 people. Write a program to ask the user to enter the yearly income of each person. As the user enters an income, count and display the number of people who belong to each of the following groups 1JThose who made less than or equal to 30000 2) Those who made above 30000 and less than or equal to 50000 3) Those who made above 50000 and less than or equal to 75000 4) Those who made above 75000 Also, display count and display the total(Combined) earning made by all people.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning