Calculate the sum of the two integers

Assignment Help Python Programming
Reference no: EM133301621

Enter the following Python programs into the repl.it editor, run them and observe the results.

Question 1) Write a program to ask the user to enter his/her monthly pay. Calculate the yearly pay(salary) Display the result formatted with two decimals and displayed as currency.

Question 2) Ask the user to enter amount_due. Calculate the monthly payment for the next year to pay all and display the result.

amount_due =
monthly_payment = amount_due / 12

Question 3) Ask user his/her salary. Ask the user how much bonus he/she will get and print the total pay.

Question 4) Write a program that asks the user to enter the radius of a circle and displays the perimeter and the area of the circle.

Question 5) Write a program that accepts two integers from the user and calculate the sum of the two integers

Question 6) Write a program that accepts an employee's name, total worked hours in a month and the amount he received per hour. Print the employee's name, and salary (with two decimal places) of a particular month

Test Data :
Input the Employees Name : James Hank Input the working hrs: 8
Salary amount/hr: 15000

Expected Output:
Employees Name = James Hank Salary = U$ 120000.00

Question 7) Write a program to calculate a bike's average consumption from the given total distance (integer value) traveled (in km) and spent fuel (in liters, float number - 2 decimal point).

Test Data :
Input total distance in km: 350 Input total fuel spent in liters: 5 Expected Output:
Average consumption (km/lt) 70.000

Reference no: EM133301621

Questions Cloud

What agency runs the database : What agency runs the database. Brief description of how the database supports law enforcement/corrections throughout the country.
Transnational organized crime : In "Transnational Organized Crime", the defendant in the scenario was charged with illegally trafficking in human organs.
How does the story going to meet the man by james baldwin : How does the story "Going to meet the Man" by James Baldwin relate to our ideas of identity and culture?After reading "White Trash Primer",discuss the following
Create complete cost worksheet detailing the cost : Create a complete cost worksheet detailing the cost included in your budget. Explain your proposal recommendation in detail
Calculate the sum of the two integers : Write a program to ask the user to enter his/her monthly pay. Calculate the yearly pay(salary) Display the result formatted with two decimals and displayed
Describe elinor marianne and mrs dashwood : Describe Elinor, Marianne, and Mrs. Dashwood. What is their situation?What are their pros and cons as eligible suitors? Briefly describe each man's particular
Online threat assessment organizations and vendors : Research online threat assessment organizations and vendors. Describe the types of technology marketed in the threat industry.
Waive violent juvenile offenders to adult system : There has been a movement to waive violent juvenile offenders to the adult system.
Think about implications of what rankine ponders in reading : big little lies: Think about the implications of what Rankine ponders in this reading. On the surface, we have the sameness of two successful friends-both write

Reviews

Write a Review

Python Programming Questions & Answers

  Write a program using conditional statements and user input

Write a program using conditional statements and user input function to generate the outcome of the rock, scissors, paper game.

  Non-negative matrix factorization

Create a bag of words - Convert the text into a bag-of-words model since the logistic regression algorithm cannot understand text.

  Perform exploratory data analysis using visualization

Perform exploratory data analysis using visualization to generate any insights that help business to understand what factors may cause flight delay

  ITECH1400 Foundations of Programming - Biorhythms Assignment

ITECH1400 Foundations of Programming - Biorhythms Theory and Practice Assignment help and solution, Federation University - use correct syntax of programming

  Write a program that reads a word and prints each character

Write a program that reads a word and prints each character of the word on a separate line. For example, if the user provides the input Harry the program.

  Determine two values and returns 0 if the values are equal

Write function definition for a function called mystey that determine two values and returns 0 if the values are equal, 1 if the first value is less than.

  Write a program containing a function called swap

Write a short program with a function called bigger that takes two numbers as input parameters and returns the bigger of the two numbers

  Design a program using the same methodology

Design a program using the same methodology that can encrypt every message user give as input and store the encrypted input messages only.

  Create an application that displays he number of millimeters

Create an application that displays he number of millimeters that the ocean will have risen each year for the next 25 years.

  Develop a Python application that can display Biorhythms

Your main task is to develop a Python application that can display Biorhythms for any person given their date of birth and the target date

  Focus on applying one data analytic algorithm

SIT742 Modern Data Science - you need to collect data from the internet by yourselves. For example, you can download from open data sites or gather

  Create a self-guided project and show a variety of skills

Create a self-guided project and show a variety of skills learned in class. This could be an excellent portfolio piece or part of your resume.

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