我试图获得一个 if else if 语句来操作,但在使用它时出现错误,请参阅下面的程序谢谢
public class Info {
public static void main(String [] args){
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){
e_code==monthly_paid;
}
}
}