Write a program that obtains integer numbers from user

Assignment Help Python Programming
Reference no: EM13302726

#1 - Pseudo Code

The project will emphasize standard approaches that verify you have successfully mastered the concepts of structured design.

Example:

Write a program that obtains two integer numbers from the user. 

It will print out the sum of those numbers.

Pseudo code:

Prompt the user to enter the first integer
Prompt the user to enter a second integer
Compute the sum of the two user inputs
Display an output prompt that explains the answer as the sum
Display the result

In this project, create the pseudo code from the following request.  

  1. The program must have some sort of menu that allows users to make selections to do a particular calculation.
  2. It must provide five menu items that allow the user to make a calculation. Each of the 5 menu items should perform different calculations. There should be an additional menu item for user to exit the program. So, total of 6 menu item.
  3. Once the user selects a menu item, program should perform calculation, display the result to the user, and return to the main menu. User should be presented with main menu until they choose option to exit the program.

Reference no: EM13302726

Questions Cloud

State fault tolerance approaches that systems managers use : Windows server software works seamlessly with most hardware vendors that offer fault tolerant systems. Discuss fault tolerance approaches that systems managers use to assure continuity of operations.
Determine how far did the train travel during the time : A train moving at 100 km/hr decreases its speed to 80 km/hr in 3.5 seconds. How far, in meters, did the train travel during this time
What is its total corporate value : The company owns marketable securities of $100 million. It is financed with $200 million of debt, $50 million of preferred stock, and $210 million of book equity.
What is your opinion of the criteria used : Based on your understanding of how AES was chosen, what is your opinion of the criteria used?
Write a program that obtains integer numbers from user : Emphasize standard approaches that verify you have successfully mastered the concepts of structured design - selects a menu item, program should perform calculation, display the result to the user, and return to the main menu.
What is the percent decrease in the cross-sectional area : a circular aluminum tube of L=600 mm is loaded in compression by forces P. The outside and inside diameters are d2=75 mm and d1=63mm, respectively. A strain Gage is placed on the outside of the tube to measure normal strains in the longitudinal di..
How much is collected from accounts receivable in november : Wiggles Right forecasted sales of $5,000 in October, $4,000 in November and $4,000 in December. All sales are on credit. 40% is collected the month of sale and the remainder the following month. How much is collected from accounts receivable in No..
Calculate its increase in volume : The active element of a certain laser is an ordinary glass rod 19.5 cm long and 1.37 cm in diameter. Calculate its increase in volume
Mini case: cisco systems : Mini Case: Cisco Systems

Reviews

Write a Review

Python Programming Questions & Answers

  The initial number for generating the sequences

Then, after the functions, read in the initial number for generating the sequences. Here, check that it is a positive integer. If it is not, give an error message and exit the program.

  We would like to implement the lexical order

We would like to implement the lexical order for lists. For simplicity, we only consider lists of numbers, where , >= have their usual meaning.

  Recursion to write a python function

Use recursion to write a Python function depth(LL), where LL is a nested list of lists of lists etc. of numbers (i.e., oat and int) and strings. We want to return the depth of nesting, i.e., how often, maximally, there is a list in a list etc

  Let ll be a list of integers

Let LL be a list of integers. Use list comprehension to produce teh following lists. Each one should just take onel line. Anser questions as two comments.

  Segment that prompts the user for an arithmetic operator

The variables x and y refer to numbers. Write a code segment that prompts the user for an arithmetic operator and prints the value abtained by appying that operator to x and y.

  Implement functions for insertion sort

Implement functions for Insertion sort and bubble sort in python programming language and a function that calculates the function execution time.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

  The integers should be printed in order with addresses

The integers should be printed in order with addresses from main. When the steps of the function order have been completed the smallest value will be stored in a, the middle in b, and the largest in c.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Define three types of programming errors

Define three types of programming errors and explain with examples

  Project will be a simple, working program

This programming project will be a simple, working program, using Python language, which utilizes a good design process and includes:Sequential, selection, and repetitive programming statements as well as,At least one function call.

  Write a program that does simple packet routing

Write a program that does simple packet routing and your program will take three command-line arguments:

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