Design an algorithm that prompts jason to enter the number

Assignment Help Data Structure & Algorithms
Reference no: EM131232258

Homework 1:

Write an algorithm in word with the following information:

Jason typically uses the Internet to buy various items. If the total cost of the items ordered, at one time, is $200 or more, then the shipping and handling is free; otherwise, the shipping and handling is $10 per item. Design an algorithm that prompts Jason to enter the number of items ordered and the price of each item. The algorithm then outputs the total billing amount. Your algorithm must use a loop (repetition structure) to get the price of each item. (For simplicity, you may assume that Jason orders no more than five items at a time.)

Homework 2:

Write an algorithm in word with the following information:

An ATM allows a customer to withdraw a maximum of $500 per day. If a customer withdraws more than $300, the service charge is 4% of the amount over $300. If the customer does not have sufficient money in the account, the ATM informs the customer about the insufficient funds and gives the customer the option to withdraw the money for a service charge of $25.00. If there is no money in the account or if the account balance is negative, the ATM does not allow the customer to withdraw any money. If the amount to be withdrawn is greater than $500, the ATM informs the customer about the maximum amount that can be withdrawn. Write an algorithm that allows the customer to enter the amount to be withdrawn. The algorithm then checks the total amount in the account, dispenses the money to the customer, and debits the account by the amount withdrawn and the service charges, if any.

Reference no: EM131232258

Questions Cloud

Debating the connections between business-law-politics : Should we have an international code of ethics? Explain why or why not. Analyze and evaluate the various issues presented while arguing and debating the connections between business, law, politics, and ethics.
Non-traditional-about her career direction : Lashonda is a non-traditional, female student. She is back in school after ten years. She is undecided about her career direction, and is unfamiliar with career resources available to her. Where would you recommend Lashonda begin? What resources woul..
Aggregate planning : Aggregate planning
About the pricing games : "Pricing Games: Sony Playstation and Microsoft Xbox" and "The Walt Disney Compnay and Pixar Inc.: After reading, reaect on these two stories and how they relate to oligopolies and game theory. With the Co- Production Agreement between the two studios..
Design an algorithm that prompts jason to enter the number : Design an algorithm that prompts Jason to enter the number of items ordered and the price of each item. The algorithm then outputs the total billing amount.
How in your opinion will flipkart benefit : India's Biggest Online Retailer, Flipkart, Plans To Go "app-only" Later This Year. How In Your Opinion Will Flipkart Benefit From Such A Move And How Will Other Players (Amazon, Snapdeal, Paytm) Adapt Their Strategies To Suit The Changing Trends?
Explain the human resources needed for the project : Identify the human resources needed for the project. Assume you will need to hire people from the outside to fill these roles. Develop criteria for evaluating applicants responding to the ads.
How much does the system cost : How much does the system cost? Is there a base price for the server and then additional costs for clients? Consider the pricing model for the school district listed in the Final Project Document.
Develop supporting facts and arguments for each position : Prepare an essay of at least 1,500 words. The paper should be 12-point font, Times New Roman, and include a final source list.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Use ms project to complete a gantt chart

Gantt Chart: Use MS Project to complete a Gantt Chart that shows your work to date so far on this project based on the first two team submissions. This chart should show reasonable tasks, durations, and dependencies, look professional, and be prin..

  Find articles online that define term negative externality

Find two articles online that define the term "negative externality". Copy those definitions here and provide links to the articles. Don't just use a dictionary, find an article that explains the term.

  Write a xml schema for the validation of the document notes.

write a XML schema for the validation of the document notes.xml. Write the schema according to the following three approaches;1.- Based on the document structure2.- Structured (bottom-up design)3.- Type-based (top-down design)

  Algorithm to concatenate string in single binary search tree

Create algorithm which concatenates T1 and T2 into single binary search tree. Worst case running time must be O(h).

  Design and develop a database

The following assignment is based on the database environment chosen and created in the Week Three Individual Assignment.

  The generic height and width of each bookcase.

Write a solution (one calculation algorithm) to print the number of feet (Variable: Number_Boardfeet) of 12-inch-wide boards that Joe will need to complete any given bookcase, given the generic height and width of each bookcase.

  How long would it take to fill the available storage space

How many cells can be in a computer's main memory if each cell's address can be represented by two hexadecimal digits? What if four hexadecimal digits are used? Explain your answer.

  Write a brief explanation about abstract data types

Write a brief explanation about each topic and example or definition- Abstract Data Types and Abstraction and Data hiding

  Will simulate the step by step execution of lru algorithm

The algorithms will be simulated based on a reference string (a sequence of pages that are to be accessed) that will be either read from the keyboard or randomly generated.

  Similar to last lab this lab is comprised of a series of

similar to last lab this lab is comprised of a series of mini tasks. in order to get credit for this lab you must

  Write a method that returns the average employee salary

Write a method that returns the average employee salary as a double. Pass the company number and employee Wages to this method. Write a method that returns the total employee salary as an int.

  Write an algorithm that gets as input three data values

Write an algorithm that gets as input three data valuesx,y, andz and outputs the average of these values if the value ofx is positive.

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