Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- int a=0, b=0;
- Random r = new Random();
- for (int i = 0; i < 10; i++)
- {
- a = r.Next(1, 11);
- b = r.Next(1, 11);
- Console.WriteLine(Pomnoz(a, b));
- }
- Console.ReadKey();
- }
- static int Pomnoz(int a, int b)
- {
- return a * b;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement