Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. using System;
  2.  
  3. namespace TripleOfLatinTraining
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. int times = int.Parse(Console.ReadLine());
  10.  
  11. for (char i = 'a' ; i < 'a'+ times; i++)
  12. {
  13. for (char j = 'a'; j < 'a' + times; j++)
  14. {
  15. for (char k = 'a'; k < 'a' + times; k++)
  16. {
  17. Console.WriteLine($"{i}{j}{k}");
  18. }
  19. }
  20. }
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement