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

  Question about character array

The 2-most important design issues that are specific to character string types are the given, Should strings be simply a special kind of character array or a primitive type?

  Devise a linear-time algorithm to count the parallel edges

Parallel edge detection: Devise a linear-time algorithm to count the parallel edges in a graph. Write the algorithm in pseudo-code.

  Consider a queue data structure

Consider a queue data structure, where the two operations of interest are enqueue (at the back of the queue) and dequeue (from the front of the queue). A queue is thus a FIFO (first in-first out) structure. Suppose we implement a queue by using tw..

  Question about internet storage

Assume you would like to save the digital pictures you took on vacation onto your hard drive, but it would take up too much storage space.

  Write an algorithm that converts a decimal number

Write an algorithm that converts a decimal number between 0 and 15 into its 4 bit unsigned binary representation.

  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..

  Finding median by black-box worst-case linear-time algorithm

Given a black-box worst-case linear-time algorithm for ?nding median, create algorithm solving the selection problem for an arbitrary order statistic.

  Implement various database-related algorithms

Implement various database-related algorithms and do experiments on efficiency/effectiveness.

  Conversion with unnormalized relation

Nazca Cinemas is a tiny movie theater that would like you to create a movie scheduling database system for them. The theater has 4-screens. Each screens has its own unique ID

  Design algorithm determining annual profit for company

Your goal is to solve the following simple programming exercise. You have been asked by your accounting department to design an algorithm determining the annual profit for your company.

  Unctions for doing sort, search, display, replace, delete

create functions for doing sort, search, display, replace, delete, and add. You can use dynamic memory allocation for enlarge the size of pointer array for adding a new country.

  Why internet need http

Discuss why does the Internet need HTTP, TCP, IP and DNS? Explain why is not the Internet Protocol enough to do the job? Please reply to these specific points of confusion.

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