Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp3
- {
- class Program
- {
- static void Main(string[] args)
- {
- Random rnd = new Random();
- {
- int d4 = rnd.Next(1, 5);
- int d6 = rnd.Next(1, 7);
- int d8 = rnd.Next(1, 9);
- int d10 = rnd.Next(1, 11);
- int d12 = rnd.Next(1, 13);
- int d20 = rnd.Next(1, 21);
- int d100 = rnd.Next(1, 101);
- Console.WriteLine($"{d4},{d6},{d8},{d10},{d12},{d20},{d100}");
- Console.ReadKey();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement