write a program that will read a line of text as input and then display the line with the first word moved to the end of the line. for example, a possible sample interaction with the user might be assume that there is no space before the first word and that the end of the first word is indicated by a blank, not by a comma or other punctuation. hint: use indexof and substring methods of string class.

Respuesta :