Question: Write a java program that enters your name into a single string. your name should be in the form first middle last the program creates

Write a java program that enters your name into a single string. your name should be in the form first middle last the program creates a single new string with your name in the form Last, First MI. making sure the case is correct for all letters. and outputs it you may not use the string tokenizer or string split, or any other preexisting/predefined JAVA string splitter. You must "forcibly" split the string on your own It is guaranteed that the name will be entered with no space before it, and only 1 space between the first and middle name, and 1 space between the middle and last name Extra credit there may be any number of spaces before the name starts, and between the names remember comments and name your class LastNameNameRearrange.java or it will not be graded, so that mine would be LichtenthalNameRearrange.java

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 Programming Questions!