Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace modul1uppgift20
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. double lotto = 0;
  14. Random rnd = new Random();
  15.  
  16. for (decimal tal = 1; tal <= 7; tal++)
  17. {
  18. lotto = rnd.Next(1, 36);
  19. Console.WriteLine(lotto);
  20. }
  21.  
  22.  
  23. Console.ReadKey();
  24.  
  25. }
  26.  
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement