Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.Collections.Generic;
- using System.Globalization;
- namespace DataTypesAndVariablesExercise
- {
- public class MethodsAndFunctionsExcercise
- {
- static void Main()
- {
- {
- int num = int.Parse(Console.ReadLine());
- for (int i = 0; i < num; i++)
- {
- for (int j = 0; j < num; j++)
- {
- for (int k = 0; k < num; k++)
- {
- Console.WriteLine($"{(char)(i + 'a')}{(char)(j + 'a')}{(char)(k + 'a')}");
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement