Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace TripleOfLatinTraining
- {
- class Program
- {
- static void Main(string[] args)
- {
- int times = int.Parse(Console.ReadLine());
- for (char i = 'a' ; i < 'a'+ times; i++)
- {
- for (char j = 'a'; j < 'a' + times; j++)
- {
- for (char k = 'a'; k < 'a' + times; k++)
- {
- Console.WriteLine($"{i}{j}{k}");
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement