Question: Write a Java program that asks the user to type their full name.(first middle last) Using String methods, print out the user's full name length

Write a Java program that asks the user to type their full name.(first middle last)

Using String methods, print out the user's

  • full name length
  • first name
  • middle name
  • last name
  • Initials (first and last only)
  • name in all capital letters (first last)
  • name in all lowercase (last, first)

EXAMPLE

What is your full name:

Michael Joe Jackson

First name: Michael

Middle name: Joe

Last name: Jackson

Initials: MJ

Caps: MICHAEL JACKSON

Lowercase: Jackson, Michael

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!