TriangleArea
Zdraveite imam problemi sus zadachata za lice na triugulnik ili pone judge sistemata taka mi kazva eti go i koda :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp7
{
class Program
{
static void Main(string[] args)
{
Console.Write("a= ");
var a = double.Parse(Console.ReadLine());
Console.Write("h= ");
var h = double.Parse(Console.ReadLine());
var area = a * h / 2;
Console.WriteLine("Triangle area is " + Math.Round(area, 2) +"cm2");
}
}
}
kato pusna programata raboti no judge mi dava 0:100
nqkakvi suveti kakvo trqbva da promenq ?
Или просто смени последния ред с този : Console.WriteLine(Math.Round(area, 2)); и минава на 100 в Джъдж.