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

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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