Question: 5.19 d uring Lab: Login Name Write a main method that prompts the user for a first name, a last name and a four-digit integer

5.19 d uring Lab: Login Name Write a main method that prompts the user for a first name, a last name and a four-digit integer (use nextlnt0) on separate lines. Generate a login name that includes the first five letters of the last name, followed by the first letter of the first name and then the last two digits of the number (use the % operator). Enter first name: Jeremy Enter last name: Johnson Enter 4-digts: 6789 Your login name: JohnsJ89 LAB ACTIVITY 5.19.1: duringLab: Login Name 0/3 Main.java Load default template... 1 public class Main 2 public static void main(Stringt] args) * Type your code here. */
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
