subject

Write a program that prompts the user to enter a list of names. Each person's name is separated from the next by a hyphen surrounded by spaces (" - ") and the names are entered firstName lastName, (i. e. separated by space " " ). Your program should then print out the names, one per line, with the last name followed by the first initial of the first name, followed in turn by "."

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
The cm is responsible for overseeing the actions of the crisis management team and coordinating all crisis management efforts in cooperation with disaster recovery and/or business continuity planning, on an as-needed basis
Answers: 1
question
Computers and Technology, 23.06.2019 12:50
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
How to apply the fly in effect to objects on a slide
Answers: 1
question
Computers and Technology, 24.06.2019 08:00
How can smart devices benefit businesses, organizations, and social communities in the global marketplace?
Answers: 1
You know the right answer?
Write a program that prompts the user to enter a list of names. Each person's name is separated from...
Questions
question
Mathematics, 24.11.2020 19:30
question
History, 24.11.2020 19:30
question
Mathematics, 24.11.2020 19:30
question
Mathematics, 24.11.2020 19:30
question
Computers and Technology, 24.11.2020 19:30
question
Mathematics, 24.11.2020 19:30
question
Mathematics, 24.11.2020 19:30
Questions on the website: 13722363