Working with Methods Can anyone help?

Activity3 working with methods

Sample

Enter an integer value: -9

Enter and integer value: 2

Enter a double value: 3.8

Enter first string : Anna

Enter second string : anna

The Absolute value of -9 is 9

The square root of 9 is 3.0

9 raise to 2 is equivalent to 81.0

The floor value of 3.58 is 3.0

The ceil value of 3.58 is 4.0

Anna is Equivalent to anna

this sample output needs to be the same with my work.

Sample:

int x =-9

result = Math.abs(x);

system.out.println("the absolute value of" +x+" is " +result);

this is what hint they give me.

i dont really understand what will i do in order to get the method.

:(

import java.io.*;

public class Activity4{

public static void main (String args[])throws IOException{

BufferedReader br = new BufferedReader(

new InputStreamReader(System.in));

what next?? thanks~!