February 20, 2017

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