Using pseudocode, design an algorithm

Assignment Help Data Structure & Algorithms
Reference no: EM13162455

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 profram 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 psuedocode, 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

 

Reference no: EM13162455

Questions Cloud

How many milligrams of the radioisotope are still active : Fluorine-18, which has a half-life of 110 min, is used in PET scans. (see section 4.5.) If 100 mg of fluorine-18 is shipped at 8 A.M., how many milligrams of the radioisotope are still active if the sample arrives at the radiology laboratory at 1:..
Why is the ?ask not ?rmly stoppered during sublimation : Suppose you have a stoppered ?ask containing CO2 gas at room temperature and pressure. If the volume of your stoppered ?ask is 300.0 mL, the pressure in the room is 770 mm Hg, and the temperature in your work area is 22.0°C, how many moles of CO2 ..
Explain what temperature in degrees celsius : The activation energy of a certain reaction is 50.0 . At 22 , the rate constant is . At what temperature in degrees Celsius
What is the final temperature of the mixture : If 55.0 mL of ethanol {rm{(density}} = 0.789;{rm{g}}/{{rm{mL}}})) initially at 9.0^circ C is mixed with 55.0 mL of water {rm{(density}} = 1.0;{rm{g}}/{{rm{mL}}}) initially at 28.1^circ C in an insulated beaker, and assuming that no heat is lost, w..
Using pseudocode, design an algorithm : 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 addre..
Find evidence that the hydroxyl radical is formed in flames : In combustion studies of H2 as an alternative fuel, you find evidence that the hydroxyl radical (HO) is formed in flames by the following reaction
What is the total pressure in torr of a gas : What is the total pressure in torr of a gas in a sealed flask that contains oxygen at a partial pres. of 0.41atm and water vapor at a partial pres. of 358mmHg?
Calculate the maximum percent yield of product : The solubility of the K3[Fe(C2O4)3].3H2O product at 00C is 4.7 g per 100 g water. Given this, calculate the maximum percent yield of product for your own reactant quantities.
State what is the concentration of f2 over a bath : Na3AlF6(l) 3 Na(l) + Al(l) + 3 F2(g) What is the concentration of F2 over a bath of molten cryolite at this temperature? a) 3 10-35 M b) 5 10102 M c) 6 10-74 M d) 8 10-312 M e) 8 1017 M

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Threat model to describe risk of attack vector

Construct a simple threat model that describes the risk this represents: attacker(s), attack vector, vulnerability, assets, and likelihood of occurrence, likely impact, and plausible mitigations.

  Perform page trace analysis by fifo page removal algorithm

Using the FIFO page removal algorithm, do a page trace analysis indicating page faults with asterisks (*). Then compute the failure and success ratios.

  Question about data network

The Minnesota Computer Consulting Group is a fifty person consulting services practice focusing on telecommunications and systems administration that includes Minnesota offices in Minneapolis, St. Paul, and Rochester.

  Write advantage of linked list implementation of stack

The tree's item type is int. Function must return number of leaves in tree. Determine the advantage of linked list implementation of stack versus array implementation?

  Question about pure aloha

A group of N stations share a 56-kbps pure ALOHA channel. Every station outputs a 1000-bit frame on an average of once every one-hundred secs, even if the previous one has not yet been sent.

  Random walk simulation

A two dimensional array should be used to represent number of times the bug reached each tile on the floor. All cells of this array should be initialized to zero.

  Algorithm for a bank account

Write algorithm to settle following question: A bank account starts out with $10,000. Interest is compounded monthly at 6 percent per year (0.5 percent per month).

  Algorithms to insert entry into list and find entry in list

In array is pointer to linked list of nodes each of which starts with corresponding letter. Write algorithms to insert the entry into list and to find entry in the list.

  Write down the algorithm to insert an item

Write down the sample code to create a Linked List and allocate storage space for a node Write down the algorithm to insert an item At the beginning of a linked list

  Question about disk writing speed

Think about a disk holding documents with an average file length of 5 KB. Each document is allocated contiguously on adjacent sectors.

  Write algorithm to identify substrings which form numbers

Write the algorithm, by using pseudo code, to do the following task. Given string of numbers, identify all the substrings which form numbers that are divisible by 3.

  Create algorithm to read file of employee records

Create the algorithm which will read a file of employee records and produce the weekly report of gross earnings for those employees.

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