Wednesday, August 23, 2017

1004 Simple Product URI Problem Only Solution In C#


using System;

class URI {
   
    static int joy(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 s=joy(A,B);

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

    }

}

No comments:

Post a Comment