08.Scholarship
Здравейте, на тази задача изкарвам 93/100 точки в judge дали някой може да ме посъветва къде греша.
using System;
namespace SumSeconds
{
class Program
{
static void Main(string[] args)
{
double income = double.Parse(Console.ReadLine());
double avgScore = double.Parse(Console.ReadLine());
double avgSalary = double.Parse(Console.ReadLine());
double socialScholarships = avgSalary * 0.35;
double gradeScholarship = 25 * avgScore;
if (avgScore >= 5.50 && gradeScholarship >= socialScholarships)
{
Console.WriteLine($"You get a scholarship for excellent results {Math.Floor(gradeScholarship)} BGN");
} else if (income < avgSalary && avgScore > 4.50){
Console.WriteLine($"You get a Social scholarship {Math.Floor(socialScholarships)} BGN");
}
else
{
Console.WriteLine("You cannot get a scholarship!");
}
}
}
}