Design an algorithm that asks for the user for the number

Assignment Help Data Structure & Algorithms
Reference no: EM13708716

Question: BuzzButtons is a novelty item company manufacturing personalized lapel buttons. The owner is promoting his buttons by offering them at 99 cents each. He wants you to design a program asking the user for his or her name for the button, an e-mail address, and the number of buttons to order. The program should then add a 6% sales tax and a flat shipping rate of $2.00.

The program displays the information the user enters as well as the button price total, sales tax amount, shipping amount, and order total. The company contacts the user by e-mail later for shipping address information.

Using pseudo code, design an algorithm that asks for the user for the number of fixed-price items to order, adds sales tax and flat-rate shipping, and displays the result.

Using JavaScript, write the button order program.

I cannot seem to get this to work for some reason could somebody provide me a code to compare and test?

Reference no: EM13708716

Questions Cloud

Plot astronomical distances and path of celestial objects : I think that one of the most interesting fields where conic sections are applied is astronomy. As a welder, I had to cut ellipse-shaped holes into the side of tanks routinely.
Explain how the components of buffers maintain ph in body : The human body contains several systems that show buffering capabilities. Why would buffering actions be vital in these systems? Write chemical equations showing how the components of these buffers maintain pH in the body.
Why use asymptotic notation instead of running time : Why use asymptotic notation instead of running time or operation counts and when does it make more or less sense?
What components of atmosphere might cause distilled water : It was mentioned that you should not expect the pH of distilled water to be 7.00 as ordinary measured in the laboratory. What components of the atmosphere might cause distilled water in the laboratory to have a pH
Design an algorithm that asks for the user for the number : Design an algorithm that asks for the user for the number of fixed-price items to order, adds sales tax and flat-rate shipping, and displays the result.
What is the pressure when the volume of the gas : At 46c a sample of ammonia gas exerts an pressure of 5.3 atm. What is the pressure when the volume of the gas is reduced to one fourth of the original value at the same experiment
Display the complete fibonacci sequence : Display the complete Fibonacci sequence until you reach a value less or equal than 1,000,000 (one million) - display the division of the number by the previous one for the complete sequence.
What is the molecular weight of a nonelectrolyte : Question- What is the molecular weight of a nonelectrolyte if 5.0 g dissolved in 100.0 g of water has a freezing point of -0.25°C?
Calculate qrxn for 1 g of sodium metal and delta hrxn : Calculate qrxn for 1 g of sodium metal, and Delta Hrxn in (KJ ) for the reaction as written. Also, assume the density of water is 1.00g/mL throughout this temperature range and that the loss of H2O is minimal

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