Write a program that displays the values on the screen

Assignment Help Python Programming
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:

Reference no: EM132183939

Questions Cloud

Subsidiary of your firm in developing country : Assume a manager of a subsidiary of your firm in a developing country has asked for advice.
Who are the key stakeholders in your process : IEM 2903 : Develop the appropriate "as-is" flowchart (this should include a flowchart that has a minimum of 15 tasks).
Discuss the challenges of maintaining information security : Discuss the challenges of maintaining information security at a remote recovery location. I recommend your initial posting to be between 200-to-300 words.
Find interesting about the miniseries roots : What did you find interesting about the miniseries "Roots" and what was the highlight of the miniseries?
Write a program that displays the values on the screen : Write a program that: Displays the values stored in each variable on the screen, using the following example format and accompanying additional string literal.
Decides to diversify its portfolio by buying stocks : Bemish crop decides to diversify its portfolio by buying stocks of Indian and Chinese companies.
How can a person protect the privacy in the digital world : Cyberstalking can take place through any form of electronic communication, to include email, cell phones (text messaging), social network sites.
What are the current generational differences in attitudes : Based on Internet research of reputable sources, what are the current generational differences in attitudes toward the role of religion in America?
What are the three types of sparklines options : In this Week's reading and prep work, you learned about the Sparklines feature in Excel. What are the three types of Sparklines options in Excel.

Reviews

Write a Review

Python Programming Questions & Answers

  Investigate mortality levels of infants and babies

ICT702 - Which countries have a high rate of child deaths and which countries have low rates? Are there connections between child mortality rates

  Write python script that reads and analyses country metadata

ICT702 Task 2 - Theme: Child Mortality. In this second part of Task 2, you should write another Python script that reads and analyses the country metadata

  What is the average size of each color diamond

Using pandas and the diamonds data set from class - What is the average size of each color diamond. Plot the density of the prices

  Write a python program that prompts for an integer

Write a Python program that prompts for an integer-let's call it X-and then ands the sum of X consecutive integers starting at 1.

  Write a program to simulate the grocery store

You have been asked to write a program to simulate the grocery store as it checks out customers. YOU ARE REQURED TO USE A QUEUE TO SOLVE THE PROBLEM.

  Create a python function called sumofodds which takes one

Create a Python function called sumOfOdds which takes one argument, an integer greater thanor equal to 1, and returns the result of adding the odd integers between 1 and the value of thegiven argument (inclusive).

  Arithmetic progression is a sequence of numbers

An arithmetic progression is a sequence of numbers in which the distance (or difference) between any two successive numbers if the same.

  Write a loop that counts the number of space

Write a loop that counts the number of space characters in a string. Recall that the space character is represented a

  Develop program that randomly generate shakespearean insults

Assignment: Shakespearean Insults- Develop a program that will randomly generate twenty Shakespearean insults using the lists of words in the table below.

  Programming exercise - routing of telephone

programming exercise - routing of telephone callsdescriptionsome telephone operators have submitted their price lists

  Write a python program that asks the user to guess a number

Write a Python program that asks the user to guess a number between 0 and 100 and give feedback that tells the user the guess was too high or too low until.

  Write appropriate accessor and mutator methods

Design a class that holds the following personal data: name, address, age, and phone number. Write appropriate accessor and mutator methods.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd