I am getting problems for net-beans to take a character and then say whether the person is and hr paid worker or monthly paid any help will do am getting an error for the line with char
import java.util.Scanner;
public class Infromation {
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,H and F");
char e_code=input.next();
Scanner.next() returns a String.
If you wanna get the character outta Scanner.next() :