|
|||
Rotating SentencesIn this problem, you are asked to rotate a series of input lines 90 degrees clockwise. So, instead of displaying the input lines from left to right and top to bottom, your program will display them from top to bottom and right to left. Input SpecificationAs input to your program, you will be given a maximum of 100 nonempty lines, each not exceeding 100 characters long. Legal characters include: newline, space, any punctuation characters, digits, and lowercase or uppercase English letters. (Note: Tabs are not legal characters.) Output SpecificationThe output of the program should have the last input line printed out vertically in the leftmost column; the first line of the input would subsequently end up at the rightmost column. Note that spaces in the input must also appear in the output. Additional spaces are allowed, but only at the beginning or in the middle of output lines where it is necessary. Sample Input
Output for Sample Input
|
|||
University of Debrecen; Faculty of Informatics; v. 09/30/2024 |