computer science

posted by .

Write a program that will input an item’s wholesale cost and its markup percentage.

The program will output the item’s retail price. The program should repeat for several input values.

For example, if an item cost is 5.00 and markup is 100%, then the retail price is 10.00

or if an item cost is 5.00 and the markup is 50%, then the retail price is 7.50

Use a method called calculateRetail that takes the wholesale cost and markup percentage as arguments and returns the retail price.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Computer programming

    Ok so the question is this: the manager of the Super Supermarket would like to be able to compute the unit price for products sold there. To do this, the program should input the name and price of an item and its weight in pounds and …
  2. Programming

    I’m using VB 2008. I need to write a simple program that calculates total sales of purchases. The program should accept item costs as input calculate the tax on each item (8%) display the item cost, total cost, and total after taxes. …
  3. math

    If the store purchases an item at a wholesale cost of $3.50 per item, and it is sold at a retail value of $5.00 per item. What is the gross profit percentage of the item?
  4. math

    If the store purchases an item at a wholesale cost of $3.50 per item, and it is sold at a retail value of $5.00 per item. What is the gross profit percentage of the item?
  5. Programming Using Raptor

    How do i program this into Raptor Language?
  6. C++

    Write a complete, working program that will do the following: Suppose you want to write a program to calculate the total cost of an item that has sales tax added. If a given item costs 14.97, and the tax rate is 6.7%, display the following …
  7. Computer Science

    "write a program that asks the user to enter the price of an item and rate of discount. If discount is 9%, display the final cost of item" What message do I display if its not 9%?
  8. information technology

    write a pascal program which reads price of an item. the program should compute 25% discount on the original price, it should display the discounted amount and the discounted price of an item.
  9. math

    If the store purchases an item at a wholesale cost of $3.50 per item, and it is sold at a retail value of $5.00 per item. What is the gross profit percentage of the item?
  10. Pseudocode

    Write pseudocode for a program that calculates a customer’s total price after tax. The program will ask the user for the price of the item they are buying. Then the program will add a 5% tax to the item and output the final price. …

More Similar Questions