Question: Question 1 (5 points) Please finish a program to satisfy the following requirements: 1) Declare an object of Scanner, and ask users to input an
Question 1 (5 points) Please finish a program to satisfy the following requirements: 1) Declare an object of Scanner, and ask users to input an 8-length String. ii) Reverse the order of the first-four digits and last-four digits of the String, respectively (E.g., input String is "abcdefghi", the expected output is "dcbaihgf")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
