Wednesday, August 23, 2017

1003 Simple Sum 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 sm=sum(A,B);

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

    }

}

No comments:

Post a Comment