Let’s say that you will be certain years old when you finish college (based on age now) and start your professional career. Write an application program that uses the for loop (only) to estimate how much you will earn (in total) if you decide to take an early retirement at age 62. Assume, your employer will give you a 3% salary increase each year. first_name = input(bob) age = input(40) starting_sal = 50000 print("Enter User :", first_name) print("Enter Age:", age) print("Enter Starting Salary:", starting_sal) print(first_name,"will have earned around $", final_amount,"at age 62.
Let’s say that you will be certain years old when you finish college (based on age now) and start your professional career. Write an application program that uses the for loop (only) to estimate how much you will earn (in total) if you decide to take an early retirement at age 62. Assume, your employer will give you a 3% salary increase each year. first_name = input(bob) age = input(40) starting_sal = 50000 print("Enter User :", first_name) print("Enter Age:", age) print("Enter Starting Salary:", starting_sal) print(first_name,"will have earned around $", final_amount,"at age 62.
Chapter4: Making Decisions
Section: Chapter Questions
Problem 4E: The Saffir-Simpson Hurricane Scale classifies hurricanes into five categories numbered 1 through 5....
Related questions
Question
Let’s say that you will be certain years old when you finish college (based on age now) and start your professional career. Write an application program that uses the for loop (only) to estimate how much you will earn (in total) if you decide to take an early retirement at age 62. Assume, your employer will give you a 3% salary increase each year.
first_name = input(bob)
age = input(40)
starting_sal = 50000
print("Enter User :", first_name)
print("Enter Age:", age) print("Enter Starting Salary:", starting_sal)
print(first_name,"will have earned around $", final_amount,"at age 62."
using python
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
Knowledge Booster
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.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT