Answer:
public static void timesTen(int num){
int numTimesTen = num*10;
System.out.println("The number "+num +" times 10 is "+numTimesTen);
}
Explanation:
In the code snippet above which is written in Java programming language, A method (function) is created. The return type is void since this method according to the question will only give an output and not necessarily return a value.
The methods only int parameter is multiplied by 10
Using string concatenation the following output is given
The number 5 times 10 is 50: For an argument of value 5