Method
Kullanıcı










20
EXE RANK
- Katılım
- 5 May 2010
- Mesajlar
- 30,181
- Tepkime puanı
- 0
- Puanları
- 0
- Yaş
- 34


Dışarıdan girilen sayıya kadar çarpım tablosunu verir...namespace kaça_kadar
{
class Program
{
static void Main(string[] args)
{
int n ;
Console.Write(" kaça kadar çarpım tablosu ");
n = Convert.ToInt32(Console.ReadLine());
for (int j=1; j<=n ;j++)
{
for (int x = 1; x <= 10; x++)
{
Console.WriteLine("{2} x {0}={1}", x, j * x,j);
}
Console.WriteLine("**************************");
}
}
}
}
{
class Program
{
static void Main(string[] args)
{
int n ;
Console.Write(" kaça kadar çarpım tablosu ");
n = Convert.ToInt32(Console.ReadLine());
for (int j=1; j<=n ;j++)
{
for (int x = 1; x <= 10; x++)
{
Console.WriteLine("{2} x {0}={1}", x, j * x,j);
}
Console.WriteLine("**************************");
}
}
}
}
