Wednesday, August 23, 2017

1001 Extremely Basic URI Problem Only Solution In C#


using System;

class URI {
   
    static int sum(int a,int b)
    {
        return a+b;
    }

    static void Main(string[] args)

{

        int A=Convert.ToInt32(Console.ReadLine());

        int B=Convert.ToInt32(Console.ReadLine());

        int X=sum(A,B);

        Console.WriteLine("X = {0}",X);

    }

}

No comments:

Post a Comment