Write a program that obtains two integer numbers from users

Assignment Help C/C++ Programming
Reference no: EM13811418

Project #1 - Pseudo Code

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

Pseudo code is an informal high-level and compact description of a computer programming algorithm that uses structural conventions of a programming language. It is intended more for human reading than machine reading. In working through the assignments in the textbook, pseudo code has been used to clearly pin down the work to be done for the program. Then using the proper Python syntax it has been converted into an executable program when constructed correctly.

Pseudo code is basically a shorthand way of describing a computer program functions; it creates the logical structure describing the actions to execute an application. You have already been doing this in each chapter of the text thus far.

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.

The program must have some sort of menu that allows users to make selections to do a particular calculation.

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.

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.

How Will This Assignment Be Graded?

- Menu items: Pseudo code provides five menu items for users to make a calculation and sixth item to exit the program

-Calculations and output: Pseudo code provides details of calculations and display output to the users.

Reference no: EM13811418

Questions Cloud

Describe how a bill becomes a law at the national level : Describe how a bill becomes a law at the national level, in a fully developed essay. Support your work with cited sources, references to Lecture Notes, or URLs where you obtained your information.
What is the portfolios beta-invested in Stock : Bill Dukes has $100,000 invested in a 2-stock portfolio. $35,000 is invested in Stock X and the remainder is invested in Stock Y. X's beta is 1.50 and Y's beta is 0.70. What is the portfolio's beta?
Number of additional topics : We have addressed a number of additional topics during the semester. You need to apply these topics to your database project if applicable.
What is best estimate of the stocks current market value : Nachman Industries just paid a dividend of D0 = $1.32. Analysts expect the company's dividend to grow by 30% this year, by 10% in Year 2, and at a constant rate of 5% in Year 3 and thereafter. The required return on this low-risk stock is 9.00%. What..
Write a program that obtains two integer numbers from users : Pseudo code is an informal high-level and compact description of a computer programming algorithm that uses structural conventions of a programming language. Write a program that obtains two integer numbers from the user
What is the companys current stock price : Schnusenberg Corporation just paid a dividend of D0 = $0.75 per share, and that dividend is expected to grow at a constant rate of 6.50% per year in the future. The company's beta is 1.25, the required return on the market is 10.50%, and the risk-fre..
Explain the republican party and the democratic party : The "party platform" of either the Republican Party or the Democratic Party (or both). The role of the Federal Reserve
What is the companys new required rate of return : Mikkelson Corporation's stock had a required return of 11.75% last year, when the risk-free rate was 5.50% and the market risk premium was 4.75%. Then an increase in investor risk aversion caused the market risk premium to rise by 2%. The risk-free r..
Roles and responsibilities and deliverables : Identify three TQM tools that may be used for ongoing process improvement. Be sure to describe who will use the tool, when it will be used, and what interval and how it will lead to process improvement.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Prepare a a simple class fraction

Web tickets are purchased on the internet. Web tickets purchased a week in advance of the event are £30 and those purchased less than a week in advance are £40.

  Sum of all non-inherited data members

show on the console the sum of all non-inherited data members of every instance in the program by Display() function

  Summarizing your predicted and actual output

Write a statement summarizing your predicted and actual output, and identify and explain any differences. For your conclusions, write at least one nontrivial paragraph that explains, in detail, either a significant problem you had and how you solv..

  Series of arithmetic problems

This program will ask the user to answer a series of arithmetic problems and report on how the user performs. You will write this program in phases as specified below. Make sure that each phase works correctly and uses good style before progressin..

  Problem related to stroing of text file values into vector

I have to store the text file values into a vector and do the sum, here the text file sample: Expenses: Equipment:$300 Food: $50  Consumable expenses: $100

  Use gets() to input the user name into name

Use strcpy() and strcat() to build the anwer into fullname that consists of.

  Create a function that subtracts two vectors

Create a function in C++ that subtracts two vectors - prepare a program to subtract two vectors and provide all the code.

  Function named sort that takes three integer parameter

Write a function named sort that takes three integer parameters by reference. The function should rearrange the parameter values so that the first parameter gets set to the smallest value, the second parameter gets set to the second smallest value, a..

  Calculate the potential energy of a rock with a mass of 55

calculate the potential energy of a rock with a mass of 55 kg while sitting on a cliff that is 27 m

  Program for compiler design in c

Write a Program for compiler design in c.

  Lexicographically preceding permutation

Output a single line containing a space separated list of integers which is the lexicographically preceding permutation of the input permutation.

  Implement database having array of pointers

One way to implement this database is to have an array of pointers pointing to Employee objects. You will obviously require a function named Calculate_salary() which will be different for each employee class. Write code in c++

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