My library > CSCI 200: Software Design and Programming I home > 3.27: LAB: Login name 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 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). If the last name has less than five letters, then use all letters of the last name. Ex: If the input is: Michael Jordan 1991 the output is: Your login name: JordaM91 Ex: If the input is: Kanye West 2024 the output is: Your login name: WestK24 LAB ACTIVITY 3.27.1: LAB: Login name LabProgram.java EzyBooks catalog ? Help/ 0/10 Load default template...

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 2GZ
icon
Related questions
Question
How do I do this in Java language?
9
Michael Jordan 1991
learn.zybooks.com/zybook/LADELYACSC1200Kleinpeter
S
My library > CSCI 200: Software Design and Programming I home >
3.27: LAB: Login name
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 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). If the last name has less than five letters, then use all letters of the last name.
Ex: If the input is:
the output is:
Your login name: JordaM91
Ex: If the input is:
Kanye West 2024
the output is:
Your login name: Westk24
452913 2055702 37
LAB
ACTIVITY
@
2
W
3.27.1: LAB: Login name
#
3
e
www
C
$
4
Section 3.27-DSCT 200: Sote
Spring2023/chapter/3/section/27
%
5
Oll
6
LabProgram.java
X
hp
O
zy Section 3.22-0SCI 200: Soft X
O
93
+
EzyBooks catalog Help/FA
4
0/10
Load default template...
D
Transcribed Image Text:9 Michael Jordan 1991 learn.zybooks.com/zybook/LADELYACSC1200Kleinpeter S My library > CSCI 200: Software Design and Programming I home > 3.27: LAB: Login name 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 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). If the last name has less than five letters, then use all letters of the last name. Ex: If the input is: the output is: Your login name: JordaM91 Ex: If the input is: Kanye West 2024 the output is: Your login name: Westk24 452913 2055702 37 LAB ACTIVITY @ 2 W 3.27.1: LAB: Login name # 3 e www C $ 4 Section 3.27-DSCT 200: Sote Spring2023/chapter/3/section/27 % 5 Oll 6 LabProgram.java X hp O zy Section 3.22-0SCI 200: Soft X O 93 + EzyBooks catalog Help/FA 4 0/10 Load default template... D
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Concept of pointer parameter
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr