Write a pseudocode algorithm to add the prices of an order

Assignment Help Management Information Sys
Reference no: EM132218120

Assignment - Pseudocode Algorithms

Note: Solutions for this assignment must be written in Pseudocode using the Pseudocode Template and following the Problem Solving Guide from Module 2 in D2L. See CCSE FYE Website for more information about Pseudocode.

Problem 1: Write a pseudocode algorithm that performs the following:

a) Read in 5 separate numbers from the user.

b) Calculate the average of the five numbers.

c) Find the smallest (minimum) and largest (maximum) of the five entered numbers.

d) Write out the results found from steps b and c with a message describing what the results were.

The algorithm output is as shown below.

Sample Output:

Average of all numbers = 56
Maximum number: 68
Minimum number: 23

Program 2: Write pseudocode that will add all the even numbers from 0 up to a user defined stopping point (inclusive if even). Output the stopping point, and the sum of all even numbers up to the stopping point (inclusive if even). The algorithm output is as shown below.

Sample Outputs:

Stopping point: 12
Sum of all evens = 42

Stopping point: 9
Sum of all evens = 20

Program 3: Write a pseudocode algorithm that asks someone how old they are today, and display their current age. Then perform the calculation and display how old they will be in 20 years. The algorithm output is as shown below.

Sample Outputs:

Your age today = 19
Your age in 20 years = 39

Your age today = 34
Your age in 20 years = 54

Program 4: Write a pseudocode algorithm that performs the following task: Ask a user to enter a number. If the number is between 0 and 10, exclusively, write the word "Blue". If the number is between 10 and 20, exclusively, write the word "Red". If the number is between 20 and 30, exclusively, write the word "Green". If it is any other number, write the message "This is not a correct color option". The algorithm output is as shown below.

Sample Outputs:

You entered: 15
Your color: Red

You entered: 41
Your color: This is not a correct color option.

Program 5: Write a pseudocode algorithm to add the prices of an order of fries, a burger, and a drink, calculate the tax (assume 10%), and tell the customer their total. Use the prices shown below for each menu item. The algorithm output is as shown below.

Sample Output:

Fries price: 3 dollars
Burger price: 6 dollars
Dink price: 1 dollar
Tax: 1 dollar
Total cost: 11 dollars

Reference no: EM132218120

Questions Cloud

Define the four basic predispositions mnc : Define the four basic predispositions MNCs have toward their international operations.
Pairs of cultural characteristics : What are the characteristics of each of the following pairs of cultural characteristics derived from Trompenaars research
In what way is time a cultural factor : In what way is time a cultural factor? In what way is the need to control the environment a cultural factor? Give an example for each.
Cultural differences decline : As people engage in more international travel and become more familiar with other countries, will cultural differences decline as a roadblock to international
Write a pseudocode algorithm to add the prices of an order : CSE 1321L: Write a pseudocode algorithm that asks someone how old they are today, and display their current age.
Appeal to common ideals and animate the vision : To enlist others, leaders must improve their capacities to act on certain essentials. Describe what it means to (1) appeal to common ideals and (2) to animate
What is jack obligation to supervise student club : Jack Smith is a non-tenured teacher in a fairly progressive district. What is Jack’s obligation to supervise a student club?
Models in terms of business : What are decision making models in terms of business?
Analyze online consumer strategies and digital media trends : Using your assigned brand analyze online consumer strategies and digital media trends. How many total likes does the brand have

Reviews

Write a Review

Management Information Sys Questions & Answers

  Information technology and the changing fabric

Illustrations of concepts from organizational structure, organizational power and politics and organizational culture.

  Case study: software-as-a-service goes mainstream

Explain the questions based on case study. case study - salesforce.com: software-as-a-service goes mainstream

  Research proposal on cloud computing

The usage and influence of outsourcing and cloud computing on Management Information Systems is the proposed topic of the research project.

  Host an e-commerce site for a small start-up company

This paper will help develop internet skills in commercial services for hosting an e-commerce site for a small start-up company.

  How are internet technologies affecting the structure

How are Internet technologies affecting the structure and work roles of modern organizations?

  Segregation of duties in the personal computing environment

Why is inadequate segregation of duties a problem in the personal computing environment?

  Social media strategy implementation and evaluation

Social media strategy implementation and evaluation

  Problems in the personal computing environment

What is the basic purpose behind segregation of duties a problem in the personal computing environment?

  Role of it/is in an organisation

Prepare a presentation on Information Systems and Organizational changes

  Perky pies

Information systems to adequately manage supply both up and down stream.

  Mark the equilibrium price and quantity

The demand schedule for computer chips.

  Visit and analyze the company-specific web-site

Visit and analyze the Company-specific web-site with respect to E-Commerce issues

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