Azra
Bronze Üye
-
- Katılım
- 11 Mart 2014
-
- Mesajlar
- 3.834
-
- Tepkime puanı
- 13
-
- ForumSAL Yaşı:
- 12 yıl 7 ay
- Kıdem:
- Forumun Eskisi
-
- Yaş
- 35
Kod:
int a, b, sonuc;
string islem1, islem2;
Console.Write("1. Sayıyı Giriniz: ");
islem1 = Console.ReadLine();
Console.Write("2. Sayıyı Giriniz: ");
islem2 = Console.ReadLine();
a = Convert.ToInt32(islem1);
b = Convert.ToInt32(islem2);
sonuc = a + b;
Console.Write("2 Sayının Toplamı: " + sonuc.ToString());
Console.ReadKey();