Console applications demonstrating the use of loops in C#