import java.util.Scanner;
public class Names {
public static void main(String[] args) {
String firstName;
String lastName;
Scanner in = new Scanner(System.in);
System.out.println("Enter first name: ");
firstName = in.next(); // next() or nextline()
System.out.println("Enter last name: ");
lastName = in.next(); // next() or nextline()
in.close(); //optional
}
}
So I have this code I am working on ^^ and I need help finishing it, basically after asking for the first name and last name I need the output to count the characters (using charAt) and then to give the initials of the first and last name that are imputed by the user. If you could help me finish off this code that would be amazing!