Reference no: EM132183939
Question: Future Annual Income
Write a program that:
1. Includes the following line comments at the top of the document:
• Python Homework #1: Future Annual Income
• Author: Your Name
• School: Pace University
• Course: CIS101
• Instructor: Professor Michael Sidaras-Tirrito
• Semester: Fall 2018
• Date Created: An actual date you created the file
2. Initializes the following:
• A string variable named name, defaulted to empty string
• A string variable named major, defaulted to empty string
• A numeric variable named graduationYear, defaulted to 0
• A numeric variable named age, defaulted to 0
• A numeric variable named desiredPay, defaulted to 0.0
• A numeric variable named acceptedPay, defaulted to 0.0
3. Collects user input of the name, the current age, the major, the graduation year and the desired annual salary upon graduating college.
4. Calculates accepted pay by multiplying desired pay with 0.67 to get two-thirds of the desired pay.
5. Displays the values stored in each variable on the screen, using the following example format and accompanying additional string literal text: