Hello I'm a beginner in Java and i'm finding issuses to increment the variable age as it is red as a string or it is an integer This is the Code :
public static void main(String[] args)
{
Scanner name= new Scanner(System.in);
System.out.println("Hello your name is "+name.nextLine());
Scanner in = new Scanner(System.in);
int age = in.nextInt();
System.out.println("In 17 September i will become "+age+1+" years old");
}