Cevap:
static bool TekCift(int sayi)
{
if(sayi%2==1)
return true;
}
return false;
Açıklama:İyi dersler.
class hesapla
public bool tekcifsayi(int s1)
if(s1%2==1)
else
static void main(string [] args)
hesapla h1=new hesapla ();
Console.Write(h1.tekciftsayi(4));
Console.ReadKey();
Show life that you have a thousand reasons to smile
© Copyright 2024 DOKU.TIPS - All rights reserved.
Cevap:
static bool TekCift(int sayi)
{
if(sayi%2==1)
{
return true;
}
return false;
}
Açıklama:İyi dersler.
Cevap:
class hesapla
{
public bool tekcifsayi(int s1)
{
if(s1%2==1)
{
return true;
}
else
{
return false;
}
static void main(string [] args)
{
hesapla h1=new hesapla ();
Console.Write(h1.tekciftsayi(4));
Console.ReadKey();
}