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;
- using System.Threading.Tasks;
- namespace Gerador_de_Numeros_Aula_003
- {
- class Program
- {
- static void Main(string[] args)
- {
- Random random = new Random();
- int number = random.Next(0, 1000000000);
- int number2 = random.Next(0, 1000000000);
- int number3 = random.Next(0, 1000000000);
- int number4 = random.Next(0, 1000000000);
- int number5 = random.Next(0, 1000000000);
- int number6 = random.Next(0, 1000000000);
- int number7 = random.Next(0, 1000000000);
- int number8 = random.Next(0, 1000000000);
- int number9 = random.Next(0, 1000000000);
- int number10 = random.Next(0, 1000000000);
- Console.Title = "Gerador 001 by Frost";
- Console.Beep();
- Console.WriteLine("Greetz: FrostSec");
- Console.SetCursorPosition(0, Console.CursorTop);
- Console.ReadKey();
- while (true)
- {
- random.Next();
- Console.Write("{0};{1}", number, number10);
- Console.Write("{0};{1}", number2, number9);
- Console.WriteLine();
- random.Next();
- Console.Write("{0};{1}", number3, number8);
- Console.Write("{0};{1}", number4, number7);
- Console.WriteLine();
- random.Next();
- Console.Write("{0};{1}", number5, number6);
- Console.Write("{0};{1}", number6, number5);
- Console.WriteLine();
- random.Next();
- Console.Write("{0};{1}", number7, number4);
- Console.Write("{0};{1}", number8, number3);
- Console.WriteLine();
- random.Next();
- Console.Write("{0};{1}", number9, number2);
- Console.Write("{0};{1}", number10, number);
- Console.WriteLine();
- random.Next();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement