Complete the following method, whose purpose is to subtract the value of its parameter from a field named price.
/**
* Reduce price by the given amount.
*/
public void discount(int amount)
{
...
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.