Scholarship Не мога да реша задачата. judge ми дава 68 точки
double dohod = double.Parse(Console.ReadLine());
double uspeh = double.Parse(Console.ReadLine());
double minrabzaplata = double.Parse(Console.ReadLine());
double a = 0;
double b = 0;
if (dohod>minrabzaplata && uspeh>=5.50)
{
Console.WriteLine("You get a scholarship for excellent results {0} BGN",uspeh*25);
}
else if (dohod<minrabzaplata && uspeh>=4.50 && uspeh<5.50)
{
Console.WriteLine("You get a Social scholarship {0} BGN", minrabzaplata*0.35);
}
else if (dohod < minrabzaplata && uspeh >= 5.50)
{
a=0.35*minrabzaplata;
b = uspeh * 25;
if (a>b)
{
Console.WriteLine("You get a Social scholarship {0} BGN",0.35*minrabzaplata);
}
else
{ Console.WriteLine("You get a Social scholarship {0} BGN",uspeh*25); }
}
else
{
Console.WriteLine("You cannot get a scholarship!");
}