Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ExamPreparation
- {
- class Startup
- {
- static void Main()
- {
- int n = int.Parse(Console.ReadLine());
- int[] numbers = new int[n];
- for (int i = n - 1; i >= 0; i--)
- {
- numbers[i] = int.Parse(Console.ReadLine());
- }
- Console.WriteLine(string.Join(" ", numbers));
- }
- }
- }
Add Comment
Please, Sign In to add comment