Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- public class Program
- {
- public static void Main()
- {
- for (int a = 0; a <= 9; a++)
- {
- for(int b = 0; b <= 9; b++)
- {
- for(int c = 0; c <= 9; c++)
- {
- for( int d = 0; d <= 9; d++)
- {
- Console.WriteLine("{0}{1}{2}{3}",a,b,c,d);
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement