[code] for (int row = 0; row < 5; row++)
{
for (int column = 0; column < 10; column++)
{
Console.WriteLine("*");
}
Console.WriteLine();
Console.ReadKey();
}
[/code]
that is supposed to output
[code]
**[/code]
im getting
[code]*
*
*
*
*
*
*
*
*
*[/code]
also
[code] for (int row = 0; row < 10; row++)
{
for (int column = 0; column < row + 1; column++)
{
Console.Write("*");
}
Console.WriteLine();
Console.ReadKey();
}[/code]
supposed to out put
[code]*
*
*
etc..[/code]
im getting
[code]*
[/code]