Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Python program that prompts the user for their full name, address, salary, age, and graduation status. The program will then display the users

Write a Python program that prompts the user for their full name, address, salary, age, and graduation status. The program will then display the users full name, salary, age, and graduation status. Additionally it will print a message indicating that the user will be one year older then next year. Instructions:1. Create a Python program that performs the following tasks:* Prompt the user to enter their full name and store it in a variable called fullName (type: str).* Prompt the user to enter their address and store it in a variable called address (type: str).* Prompt the user to enter their salary and store it in a variable called salary (type: float).* Prompt the user to enter their age and store it in a variable called age (type: int).* Ask the user if they have graduated (yes/no) and store the response in a boolean variable called isGraduated.1. After collecting the inputs, the program should display (print) the following information:* Full name* Address* Salary* Age* Graduation status and a corresponding message (Example: "Congratulation on your graduation", if Graduation status is True)1. Additionally, the program should print a report type message that next year the user will be one year older. (making sure the age is changed to integer from the default "String")2. Ensure the program handles the graduation status correctly. If the user inputs 'yes', the corresponding variable (isGraduated) should be True; otherwise, it should be False.Note :Please submit both the source code file (with a py extension) and a screenshot of the programs output.

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

More Books

Students also viewed these Databases questions

Question

What are some of the major issues affecting the economy today?

Answered: 1 week ago