Corrency Converter няма резултат в Judge
Програмата ми тръгва във VS но Judge няма резултат.
Някой дали може да помогне?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CourencyConverter1._1
{
class Program
{
static void Main(string[] args)
{
double value = double.Parse(Console.ReadLine());
var input = Console.ReadLine().ToLower();
var output = Console.ReadLine().ToLower();
if (input == "bgn" && output == "usd")
{
Console.WriteLine(Math.Round(value * 1 / 1.79549, 2) + "USD");
}
else if (input == "bgn" && output == "eur")
{
Console.WriteLine(Math.Round(value * 1 / 1.95583, 2) + "EUR");
}
else if (input == "bgn" && output == "gbp")
{
Console.WriteLine(Math.Round(value * 1 / 2.53405, 2) + "GBP");
}
else if (input == "usd" && output == "bgn")
{
Console.WriteLine(Math.Round(value * 1.79549 / 1, 2) + "BGN");
}
else if (input == "usd" && output == "eur")
{
Console.WriteLine(Math.Round(value * 1.79549 / 1.95583, 2) + "EUR");
}
else if (input == "usd" && output == "gbp")
{
Console.WriteLine(Math.Round(value * 1.79549 / 2.53405, 2) + "GBP");
}
else if (input == "eur" && output == "bgn")
{
Console.WriteLine(Math.Round(value * 1.95583 / 1, 2) + "BGN");
}
else if (input == "eur" && output == "usd")
{
Console.WriteLine(Math.Round(value * 1.95583 / 1.79549, 2) + "USD");
}
else if (input == "eur" && output == "gbp")
{
Console.WriteLine(Math.Round(value * 1.95583 / 2.53405, 2) + "GBP");
}
else if (input == "gbp" && output == "bgn")
{
Console.WriteLine(Math.Round(value * 1 / 2.53405, 2) + "BGN");
}
else if (input == "gbp" && output == "usd")
{
Console.WriteLine(Math.Round(value * 2.53405 / 1.79549, 2) + "USD");
}
else if (input == "gbp" && output == "eur")
{
Console.WriteLine(Math.Round(value * 2.53405 / 1.95583, 2) + "EUR");
}
}
}
}