Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- namespace ConsoleApp210
- {
- class Program
- {
- static void Main()
- {
- int length = int.Parse(Console.ReadLine());
- string[] nums = new string[length];
- for (int i = 0; i < nums.Length; i++)
- {
- nums[i] = Console.ReadLine();
- }
- for (int k = nums.Length - 1; k >= 0; k--)
- {
- Console.Write("{0} ", nums[k]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement