Friday, August 25, 2017

1963 The Motion Picture URI Problem Only Solution In C#

using System; 
 class Exercise8 

    static void Main()
   
    {
    string s=Console.ReadLine();
    string[] values=s.Split(' ');
    double A=double.Parse(values[0]);
    double B=double.Parse(values[1]);
    double c=(B-A);
    double d=(c/A)*100.0;
    Console.WriteLine(d.ToString("0.00")+"%");
    }

}

No comments:

Post a Comment