задача 20
https://softuni.bg/trainings/resources/officedocument/18654/exercise-problem-descriptions-csharp-programming-basics-bulgaria-october-2017
Задача 20 не разбирам къде ми е грешката?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace blagotvoritelno
{
class Program
{
static void Main(string[] args)
{
var D = int.Parse(Console.ReadLine());
var S = int.Parse(Console.ReadLine());
var T = int.Parse(Console.ReadLine());
var G = int.Parse(Console.ReadLine());
var P = int.Parse(Console.ReadLine());
var torti = T * 45;
var gofreti = G * 5.80;
var palachinki = P * 3.20;
var obshtoDen = (torti + gofreti + palachinki) * 8;
var allsum = obshtoDen * 20;
var summinus = allsum - 1 / 8;
Console.WriteLine($"{summinus:F2}");
}
}
}
Благодаря много!!!