Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace _06.Triples_of_Latin_Letters
- {
- class Program
- {
- static void Main(string[] args)
- {
- int n = int.Parse(Console.ReadLine());
- for(char a = 'a'; a<'a'+ n; a++)
- {
- for (char b = 'a'; b < 'a' + n; b++)
- {
- for (char c = 'a'; c < 'a' + n; c++)
- {
- Console.WriteLine($"{a}{b}{c}");
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement