Java Codes - This program was supposed to take an integer from the user as input on the first line and a sentence on the second line and then display the integer
![Why compiler ignores input of string after input of integer or double! || Java tutorial #1 - YouTube Why compiler ignores input of string after input of integer or double! || Java tutorial #1 - YouTube](https://i.ytimg.com/vi/TR1CaRtqMdU/maxresdefault.jpg)
Why compiler ignores input of string after input of integer or double! || Java tutorial #1 - YouTube
![SOLVED: Please modify the following to use if-else statement. 1 import java .util.Scanner; 2 3 public class SimpleIfDemo 4 public static void main(String[] args) 5 Scanner input = new Scanner(System.in); 6 System.out.print("Enter an SOLVED: Please modify the following to use if-else statement. 1 import java .util.Scanner; 2 3 public class SimpleIfDemo 4 public static void main(String[] args) 5 Scanner input = new Scanner(System.in); 6 System.out.print("Enter an](https://cdn.numerade.com/ask_images/ebc179aff27242a1a539321e42264f2a.jpg)