Look at your
main
method: You read the number to calculate the factorial of before you prompt the user to enter it!
Then printing your answers is simple - you just have to call the method you wrote and print the result.
If you define a method then calling it is easy:
public static void main(String[] args) {
System.out.println(" 3 + 6 = " + Add(3, 6));
}
private static int Add(int x, int y) {
return x + y;
}