Thursday, August 24, 2017

2234 Hot Dogs URI Problem Solution Only In C#


using System; 

 class Exercise8


   
     static void Main()
    
    {

     string s = Console.ReadLine();

     string[] values = s.Split(' ');

     double N = double.Parse(values[0]);

     double M = double.Parse(values[1]);

    Console.WriteLine((N/M).ToString("0.00"));
    }
   
}

No comments:

Post a Comment