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...
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...
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 2GZ
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](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F02e8a2e7-b43b-492e-8f33-33908b4c977d%2F2d96ad27-e8da-4081-87a2-40c06271218d%2F3q0epn5_processed.jpeg&w=3840&q=75)
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
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr