November 28, 2015

Homework Help: computer science

Posted by Matt on Tuesday, March 30, 2010 at 3:46pm.

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.

Answer this Question

First Name:
School Subject:

Related Questions

More Related Questions