Answered step by step
Verified Expert Solution
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: 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 yesno and store the response in a boolean variable called isGraduated 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 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" 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started