Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Lotto_Exercise
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             LottoKupon coupon = new LottoKupon(7);
  10.  
  11.             int[][] myCoupon = coupon.GenerateCoupon();
  12.  
  13.             foreach (int[] rows in myCoupon)
  14.             {
  15.                 foreach (int number in rows)
  16.                 {
  17.                     Console.Write($"{number} ");
  18.                 }
  19.  
  20.                 Console.WriteLine(" ");
  21.             }
  22.  
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement