Question: in java challenge activity 5 . 1 7 . 1 : Character operations. 5 9 9 1 1 4 . 3 9 6 0 9
in java
challenge activity
: Character operations.
qxzqy
Jump to level
Variable inputString is assigned with a character string read from input. If inputString's first and third characters are both alphabetic characters, output "Good string". Otherwise, output "Bad string". End each output with a newline.
Ex : If the input is gb then the output is:
Good string
Ex : If the input is m& then the output is:
Bad string
import java.util.Scanner;
public class StringModification
public static void mainString args
Scanner scnr new ScannerSystemin;
String inputString;
inputString scnrnextLine;
Your code goes here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
