Problems to use the varibales in methods
<p>I am getting an error when am trying to get the variables in the If else if statements any help will do thanks here is the program</p>

<pre><code>public class Info {

    public static void main(String [] args){


        char f,F,c,C,h,H;

        Scanner input=new Scanner(System.in);
        System.out.print("Enter employee num");
        int e_num=input.nextInt();
        System.out.print("Enter employee first name");
        String e_fname=input.next();
        System.out.print("Enter employee surname");
        String e_sname=input.next();
        System.out.print("Enter employee code C or c,H or h and F or f");
        char e_code = input.next().charAt(0);



        if(e_code=='f' || e_code=='F') {
        System.out.print("Enter employee salary: ");
        double salary=input.nextDouble();
             e_code=calGrossF();
        }

            else if(e_code=='c'||e_code=='C'){
            e_code=calGrossC();
            }

            else if(e_code=='h'|| e_code=='H'){
                e_code=calGrossH();
            }





       }//end of main 

    public static void calGrossF(int f, int F){




    }//end of Gross(F)
    public static char calGrossC(){

    }// end of Gross(C)

    public static char calGrossH();{
</code></pre>
