using System; namespace gırsayıdon { class Program { static void Main(string[] args) { int x, top = 0; string giriş = "Döngü Toplamını Bulan Uygulamama Hoşgeldiniz"; Console.WriteLine(String.Format("{0," + ((Console.WindowWidth / 2) + (giriş.Length / 2)) + "}", giriş)); Console.Write("X değerini Giriniz : "); x = Convert.ToInt32(Console.ReadLine()); for (int i = 1; i <= x; i++) { for (int j = 1; j <= x; j++) { Console.WriteLine(i + " " + j ); top = i + j; } } Console.WriteLine(" Girdiğiniz Sayıya Göre Döngünün Toplamı = " +top); string çıkış = "Bitirmek için bir tuşa basınız"; Console.WriteLine(String.Format("{0," + ((Console.WindowWidth / 2) + (çıkış.Length / 2)) + "}", çıkış)); Console.ReadKey(); } } }