
homework help
Not sure how to go about this one:
Fill in the blanks below to create a method that takes as parameters an original price (a real number that can include a decimal) and a percent discount (an integer) and computes and returns the discounted price as a real number. For example, if the original price is 50.0 and the percent discount is 10, your method should return a discounted price of 50.0  0.10(50.0) = 45.0. (You will need to divide the percentage by 100 as part of the computation.) Use the names originalPrice and percentDiscount for the parameters.
public static ______ discountPrice(______________________) {
double newPrice = ___________________;
__________________;
}

Re: homework help
The problem tells you all the information you need.
What parameters to put, what return type if any is required, what type of data type you will be working with and even the formula you need.
What have you tried to do? Post your attempts and what issues you are getting and we will gladly help.