You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a program which reads a number of strings from standard input and prints them in reverse order on the screen. The input sequence is terminated with the string END.
$ reverse-strings
one
two
three
END
-> three
-> two
-> one