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")+"%");
}
}
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