using System;
class Enbuyuksayi
{
static int Enbuyuk2(int a , int b)
{
if(a>b)
return a ;
return b;
}
static void Main()
{
int sayi1,sayi2;
Console.WriteLine("Sayıları girin");
sayi1=Convert.ToInt32(Console.ReadLine());
sayi2=Convert.ToInt32(Console.ReadLine());
int maks= Enbuyuk2(sayi1,sayi2);
Console.WriteLine("En büyük sayı {0}",max);
}
}
Hiç yorum yok:
Yorum Gönder