Hahahaha, like 2 weeks later and I have finally finished the TimeTable project, well with the help of my mentor. But more importantly I understand how it is working. As well as still performing little projects I am still heavily engulfed with my C# workshop. I am still reading through the chapters and answering the questions. Well I have some C# to learn so hopefully I will have something new to updater later today if then there is always tomorrow.
Here is the code for Project TimeTable:
namespace TimeTable
{
class TimeTable
{
static void Main(string[] args)
{
Console.Title = "TimeTable";
Console.Write("Enter Max: ");
int iMax = int.Parse(Console.ReadLine());
for (int i = 0; i < iMax; i++)
{
for (int j = 0; j < iMax; j++)
{
Console.Write("{0,5}", ((i + 1) * (j + 1)));
}
Console.WriteLine();
}
}
}
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment