Computer Science, asked by leeamabarintos, 2 months ago

Write a program that gets a sentence from the user and display it back with one word per line.

Answers

Answered by mostak4
0

Explanation:

Write a program that takes a list of student names and sorts them to create a class roll. The list of names will be given on a one line separated by a single space.

The program should work like this:

Students: Peng Ivan Alan Jodi Macy

Class Roll

Alan

Ivan

Jodi

Macy

Peng

Similar questions