Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Program
- {
- public static void Main(string[] args)
- {
- Random rnd = new Random();
- string[] litery = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "R", "S", "T", "U", "W", "X", "Y", "Z" };
- int ileLiter = rnd.Next(10,20);
- for (int i = 0; i <= ileLiter; i++)
- {
- int litera = rnd.Next(litery.Length);
- Console.WriteLine(" {0}", litery[litera]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement