trying for the longest while to get this program to run at least properly, havent finished entering all of the codes as, just testing each part of the statement before i add in the rest of the codes
the program is not working properly dont know where I have gone wrong because it is only reading up to the employee last name and stop. it is not even looping
so tell me where i have gone wrong, what is wrong with it. the program run up until the employee last name and stop
for(int i=1; i<=3; i++){
System.out.println("please enter the employee id number");
emp_idnum = input.nextInt();
System.out.println("please enter the employee first name");
empfirst_name = input.next();
System.out.println("please enter the employee last name");
emplast_name = input.next();
if(Character.toUpperCase(inputChar) ==('F') || Character.toLowerCase(inputChar) ==('f')){
inputChar = input.next().charAt(0);
System.out.println("enter your usercode");
System.out.println("please enter the employee fixed salary");
fixedsalary = input.nextDouble();
}
else if(Character.toUpperCase(inputChar) == ('C') || Character.toLowerCase(inputChar) == ('c')){
inputChar = input.next().charAt(0);
System.out.println("enter your usercode");
System.out.println("please enter the employee fixed salary " + fixedsalary);
fixedsalary = input.nextDouble();
System.out.println("please enter the total sales of the month " + totalsales);
totalsales = input.nextDouble();
}
else if(Character.toUpperCase(inputChar)== ('H') || Character.toLowerCase(inputChar)== ('h'));
inputChar = input.next().charAt(0);
}
}
}