Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- namespace ExamPreparation
- {
- class Startup
- {
- static void Main()
- {
- string[] numbers = Console.ReadLine().Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
- int counter = numbers.Length - 1;
- Array.Reverse(numbers);
- Console.WriteLine(string.Join(" ", numbers));
- }
- }
- }
Add Comment
Please, Sign In to add comment