Question: Jump to level 1 Read four strings from input and call printStateDetails() to output as followS Ex if the input is AK-LA Alaska Louisiana, then
Jump to level 1 Read four strings from input and call printStateDetails() to output as followS Ex if the input is AK-LA Alaska Louisiana, then the output is AK is Alaska's state code. LA is Louisiana's state code. 1 impont java.util.scanner: 2 3 public class statedetails I public static void printstatedetails(string var 1, String var2) {. System, out, print ln (vary " is " var2 +, s state code." ); public static void main (String [] args)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
