Java program. Trying to fix my code:
This is the output I am getting:
This is the output I want:
import java.util.Scanner public class StringExercise public static void main(String args) Scanner scan-new Scanner(System. in);
OR
OR
Java program. Trying to fix my code:
This is the output I am getting:
This is the output I want:
import java.util.Scanner public class StringExercise public static void main(String args) Scanner scan-new Scanner(System. in);