using System;
using System.Linq;
using System.Collections.Generic;
public class Program
{
private static Random _rnd = new Random();
public static void Main()
int randomNumber = GetRandomNumber(3, 19);
Console.WriteLine($"Nahodne cislo: {randomNumber}");
string[] alphabet = new string[] {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
string randomLetters = "";//zde bude pouziti funkce 2) => vypise se parametrem stanoveny pocet nahodnych pismen
Console.WriteLine($"Nahodne znaky: {randomLetters}");
}
private static int GetRandomNumber(int min, int max)
return _rnd.Next(min, max);
//1) zde bude metoda, ktera vrati JEDNO nahodne pismeno z abecedy
//2) zde bude funkce ktera vrati N (definovano parametrem) nahodnych pismen