![SOLVED: import java.util.Scanner; public class Hw1pr4 public static void main(String[] args) Scanner in = new Scanner(System.in); System.out.print("Please enter your name:"); String str = in.nextLine(); int position; int length; if (str.length() % 2 == SOLVED: import java.util.Scanner; public class Hw1pr4 public static void main(String[] args) Scanner in = new Scanner(System.in); System.out.print("Please enter your name:"); String str = in.nextLine(); int position; int length; if (str.length() % 2 ==](https://cdn.numerade.com/ask_images/e6bd9a8188304b02a7dda23b99916970.jpg)
SOLVED: import java.util.Scanner; public class Hw1pr4 public static void main(String[] args) Scanner in = new Scanner(System.in); System.out.print("Please enter your name:"); String str = in.nextLine(); int position; int length; if (str.length() % 2 ==
![Java on X: "How to read input from console using Scanner. #Java https://t.co/V2zLbYwMsJ https://t.co/g87sW6yzmT" / X Java on X: "How to read input from console using Scanner. #Java https://t.co/V2zLbYwMsJ https://t.co/g87sW6yzmT" / X](https://pbs.twimg.com/media/EQL8AFPXsAEbSNY.png)
Java on X: "How to read input from console using Scanner. #Java https://t.co/V2zLbYwMsJ https://t.co/g87sW6yzmT" / X
![Java on X: "Take a look at this #tutorial on #Java Scanner class. https://t.co/qtNIirLps1 https://t.co/QMyVSbdRUy" / X Java on X: "Take a look at this #tutorial on #Java Scanner class. https://t.co/qtNIirLps1 https://t.co/QMyVSbdRUy" / X](https://pbs.twimg.com/media/ER_6joDWoAAxqaO.png)