Hey folks.
I currently have the below code:-
int double weeksInYear = 52;
int double num;
while (num <= weeksInYear)
Console.WriteLine("Week " + num);
num += 2;
Now when my code runs, it produces approximately 26 lines of text as below:-
Week 1
Week 3
Week 5
etc..... (up until Week 51)
What I'd like to do is format the Console.WriteLine aspect of the code so that it prints the results in a column-like / tab-delimited way as below with a space between each entry in each row:-
Week 1 Week 3 Week 5
Week 7 Week 9 Week 11
etc.....
Any suggestions?