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

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  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.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  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.

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