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