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