people

Dışarıdan üç kenarının uzunluğu girilen bir üçgenin ne çeşit bir üçgen olduğunu bulan program.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Soru_Yirmiiki
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("genin Kenar Uzunluklarn Girin");
int a=Convert.ToInt32(Console.ReadLine());
int b = Convert.ToInt32(Console.ReadLine());
int c = Convert.ToInt32(Console.ReadLine());
if (a == b && a == c) Console.WriteLine("Ekenar gen");
else if (a == b a == c b == c) Console.WriteLine("kizkenar gen");
else Console.WriteLine("eitkenar gen");
Console.ReadLine();
}
}
}

0 yorum:

Yorum Gönder