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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!