Advertisement
Guest User

Untitled

a guest
Jan 24th, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. using System;
  2. using System.Linq;
  3. using System.Collections.Generic;
  4. using System.Globalization;
  5. namespace DataTypesAndVariablesExercise
  6. {
  7. public class MethodsAndFunctionsExcercise
  8. {
  9. static void Main()
  10. {
  11. {
  12. int num = int.Parse(Console.ReadLine());
  13.  
  14. for (int i = 0; i < num; i++)
  15. {
  16. for (int j = 0; j < num; j++)
  17. {
  18. for (int k = 0; k < num; k++)
  19. {
  20. Console.WriteLine($"{(char)(i + 'a')}{(char)(j + 'a')}{(char)(k + 'a')}");
  21. }
  22. }
  23. }
  24. }
  25. }
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement