Design an algorithm to find the selling price of item sold

Assignment Help Data Structure & Algorithms
Reference no: EM13340053

1. To make a profit, the prices of the items sold in a furniture store are marked up by 60%. Design an algorithm to find the selling price of an item sold at the furniture store. What information do you need to find the selling price?

2. Suppose that the cost of sending an international fax is calculated as follows: Service charges $3.00; $.20 per page for the first 10 pages; and $0.10 for each additional page. Design an algorithm that asks the user to enter the number of pages to be faxed. The algorithm then uses the number of pages to be faxed to calculate the amount due.

 

Reference no: EM13340053

Questions Cloud

What is the change in the entropy of the universe : 1.0 kg of ice at temperature T' = 0 oC is melted into water at the same temperature by placing it in contact with a reservoir at temperature T = 22.1 oC. What is the change in the entropy of the universe to two decimal places
Calculate the contribution per cd unit : Calculate the contribution per CD unit, break-even volume in CD units and dollars, net profit if 1 million CDs are sold and necessary CD unit volume to achieve a $200,000 profit.
Helen can spend a combined total of $30 each day on these : Helen’s preferences over CDs (C) and sandwiches (S) are given by U(S, C) = SC +10(S +C), with MUC=S +10 and MUS= C +10. If the price of a CD is $9 and the price of a sandwich is $3, and Helen can spend a combined total of $30 each day on these goods,..
What is the total stored energy of the capacitors : The capacitors are identical except that C2 has a dielectric inserted between its plates. A 210 V battery is connected across the combination until electrostatic equilibrium is established, and then the battery is disconnected.
Design an algorithm to find the selling price of item sold : To make a profit, the prices of the items sold in a furniture store are marked up by 60%. Design an algorithm to find the selling price of an item sold at the furniture store. What information do you need to find the selling price?
Cost to purchase inventory : Method of inventory cost do you believe is superior to the others in providing information to potential investors? Explain and the costs to purchase inventory had been falling instead of rising.
What inferences should be drawn from this analysis : If FCI raised rents at one complex by $100, what would you expect to happen to the number of units rented? If FCI raised rents at an average apartment building, what would happen to FCI’s total revenues?
Two significant trading countries in the apbr : Select two significant trading countries in the APBR.  Compare these countries from the point of view of their relative size, population, natural resources, social structure and politic and business practices.
Program that prompts the user to enter the weight of person : The program should output the desired result. However, the program contains logic errors. Find and correct the logic errors so that the program works properly.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Design and implement an avl tree algorithm

Design and implement an AVL tree algorithm that searches a collection of documents. You will be provided with a set of 50 documents and a set of sample queries. First, you will process the documents and store their content (i.e. words / tokens) in..

  Question related to sequential files

In spite of the fact that sequential files lack direct targeted addressing of each of the records and fields, they are the most widely used.

  Representation of the newick format

Create the graphical representation of Newick format tree given below. Label each leaf with appropriate sequence identifier, and label each branch with its appropriate length.

  Virtualization & memory

Evaluate the efficiency and reliability of both the most common nonpreemptive dispatch algorithms and the most common preemptive dispatch algorithms used for scheduling decisions. Provide one (1) example of the best use for each dispatch algorithm..

  Apply algorithm on string to make substrings

For instance, applying algorithm on string 37540 must make the following substrings (not necessarily in this order): 0; 3; 75; 54; 375; 540.

  Explain pros and cons of algorithm

You can start by taking 3-4 schemes for example and then show each step of the GA based algorithm numerically. Explain each step (selection, cross-over, mutation) in detail. You can show in any way as long as each step is shown and explained numer..

  Sharing a large computer file

Assume you are sitting at desk at office and using your laptop computer. The boss calls an emergency meeting for you and many colleagues, and asks everyone to bring his or her laptop computer.

  Algorithm to categorize problem using big-theta notation

Find a simple algorithm for solving following problem and categorize it using big-theta notation: Divide the group of people into two disjoint subgroups (of arbitrary size) such that difference in total ages.

  Design an o(v+e) time algorithm that computes

Design an O(V+E) time algorithm that computes the smallest number of batches required to complete all tasks. A task can be assigned to a batch i if and only if all tasks that are its prerequisites have already been assigned to batches 1 to (i-1).

  Instance of the single source shortest paths

instance of the single source shortest paths problem with vertex a as the source

  Create ef?cient algorithm to fnd redundancies

Fnd the redundancies m1, · · · , mn that are within the available budget and that maximize probability that system works correctly. Create an ef?cient algorithm.

  Explain feasibility analysis for jobs of lrt algorithm

Study feasibility analysis for jobs of LRT algorithm when preemption is allowed. Which scheduling algorithm is best suited for high speed networks and why? Distinguish between static and dynamic systems.

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