Къде е проблемът ?Sleepy Tom Cat
using System;
namespace Sleepy_Tom_Cat
{
class Program
{
static void Main(string[] args)
{
int dayForRest = int.Parse(Console.ReadLine());
int alltimeGamesEver = 30000;
int afterWorkGames = 63;
int restGames = 127;
int allYearsDays = 365;
double gamesInRestDays = dayForRest * restGames;
double gamesInWorkingDays = (allYearsDays - dayForRest) * afterWorkGames;
double totalTime = gamesInRestDays + gamesInWorkingDays;
double games = alltimeGamesEver - totalTime;
double hours = Math.Abs(games / 60);
double minutes = Math.Abs(games % 60);
if (totalTime > alltimeGamesEver)
{
Console.WriteLine("Tom will run away");
Console.WriteLine($" {hours} hours and {minutes} minutes more for play");
}
else if (totalTime < alltimeGamesEver)
{
Console.WriteLine("Tom sleeps well");
Console.WriteLine($"{hours} hours and {minutes} minutes less for play");
}
}
}
}
Благодаря ти много ,направо тези малки грешки ме побъркват,но няма как ,успешен ден колега.