Question
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.
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.
Answers
Related Questions
Write a function for the input-output table.
Input x- 0, 1, 2, 3
Output 7- 3, 4, 5, 6
Write a declarations and input statements necessary to read each of the following sets of data value...
Write a pseudocode to input 10 temperatures per day for 20 days and output the average per day and a...
write a program C++ program and Use a recursive function that finds the n-th term using the followin...
a program to input the prices of two items as well as the quantities purchased, and compute the amou...
Write a program that input two numbers and find if second number is square of firs number
Write a java program to input an integer numbers and find the highest number among them (using array...
Write a java program to input the ages of '10'students and count the number of students who has the...
make a program that will input 6 numbers and output the highest number and the lowest number
I need a program to input age of 10 persons and output the oldest and youngest age.