using System;
public class Program
{
public static void Main()
int a, b, c, RND;
Random rnd = new Random();
RND = rnd.Next(100, 1000);
a = RND / 100;
b = RND / 10 % 10;
c = RND / 10 - RND ;
Console.WriteLine("Number > {0} \nHundreds > {1} \nTens > {2} \nUnits > ", RND, a, b);
}