Thursday, August 24, 2017

2172 Event URI Problem Only Solution In C#

using System; 
 class Exercise8 

    static void Main()
{
   
    while(true)
    {
        string s=Console.ReadLine();
        string[] values=s.Split(' ');
       
        long N=long.Parse(values[0]);
        long J=long.Parse(values[1]);
        if(N==0 && J==0){
            break;
        }
        else{
        Console.WriteLine(J*N);
        }
    }
}

}

No comments:

Post a Comment