SHARE
TWEET

Untitled

a guest Jun 18th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Linq;
  3.  
  4. namespace ConsoleApp1
  5. {
  6.     class Program
  7.     {
  8.         static void Main(string[] args)
  9.         {
  10.             string[] words = Console
  11.                  .ReadLine()
  12.                  .Split(" ")
  13.                  .ToArray();
  14.  
  15.             for (int i = words.Length - 1; i >= 0; i--)
  16.             {
  17.                 Console.Write(words[i] + " ");
  18.             }
  19.         }
  20.     }
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top