Monday, August 28, 2017

1933 Tri-du Uri Problem Only Solution In C#


using System;

class URI {

    static void Main(string[] args) {

      string s=Console.ReadLine();
      string[] values=s.Split(' ');
      int A=int.Parse(values[0]);
      int B=int.Parse(values[1]);
      if(A>B)
      {
          Console.WriteLine(A);
      }
      else
      {
          Console.WriteLine(B);
      }
    }

}

No comments:

Post a Comment