Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ibrary > IFT 2 1 0 : Introduction to Java Technologies home > 3 . 2 7 : LAB: Login name zyBooks catalog 3 .

ibrary > IFT 210: Introduction to Java Technologies home >3.27: LAB: Login name
zyBooks catalog
3.27 LAB: Login name
Write a program that creates a login name for a user, given the user's first name, last name, and a four-digit integer as input. Output the login name, which is made up of the first six letters of the first name, followed by the first letter of the last name, an underscore (), and then the last digit of the number (use the % operator). If the first name has less than six letters, then use all letters of the first name.
Ex: If the input is:
Michael Jordan 1991
the output is:
Your login name: MichaeJ_1
Ex: If the input is:
Nicole Smith 2024
the output is:
Your login name: Nicoles_4
528040.3489528 qx 3zqy7
LAB
ACTIVITY
3.27.1: LAB: Login name
010
LabProgram.java
Load default template...
1 import java.util. Scanner;
public class LabProgram {
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Finance The Role Of Data Analytics In Manda Due Diligence

Authors: Ps Publishing

1st Edition

B0CR6SKTQG, 979-8873324675

Students also viewed these Databases questions