Klavyeden 3 sayıyı girilip bunları ekrana yazdıran programın kodları


static void Main(string[] args)
{
 
int x;
int y;
int z;
 
Console.Write("1.sayıyı giriniz");
x = Convert.ToInt32(Console.ReadLine());
 
Console.Write("2.sayıyı giriniz");
y = Convert.ToInt32(Console.ReadLine());
 
Console.Write("3.sayıyı giriniz");
z = Convert.ToInt32(Console.ReadLine());
 
Console.WriteLine("Girilen 1.Sayı={0}", x);
Console.WriteLine("Girilen 2.Sayı={0}", y);
Console.WriteLine("Girilen 3.Sayı= "+ z);
 
Console.ReadKey();
}

SAYFAMIZA ABONE OLARAK YORUMUNUZU YAPABİLİRSİNİZ Show Conversion Code Hide Conversion Code Show Emoticon Hide Emoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv
Thanks for your comment
Please wait 10 seconds...
Close