X580: Simple Math: Subtraction

Complete this method so it prints out the difference between the two parameters.

Examples:

difference(10, 12) outputs -2

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.