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;
- namespace task2
- {
- class Program
- {
- class RandomNumbersbetween100and200
- {
- static void Main(string[] args)
- {
- Random rand = new Random();
- for (int number = 1; number <= 10; number++)
- {
- int randomNumber = rand.Next(200) + 1;
- Console.Write("{0} ", randomNumber);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement