Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+16 votes

Hi. I am having this problem "The proper order of Smith, Sue is Smith, Sue Smith, Sue." Does anyone know who to fix it? Thank you

asked in CSC211_Winter2018 by (1 point)

1 Answer

+8 votes

The directions of the lab suggests that you use the indexOf method and the substring method. Have you done so? Within the body of the method you are to write, think about using the indexOf method to find the index of the comma following the last name.

The code for the gansta name program we wrote in class is posted in Moodle. Take a look at that code.

answered by (1 point)
...