Advertisement
Guest User

HUHE

a guest
Jan 18th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace ConsoleApplication1
  7. {
  8. class Program
  9. {
  10. static void Main()
  11. {
  12. int cislo = 1;
  13.  
  14. for (int i = 0; i < 1000; i++)
  15. {
  16.  
  17. cislo *= 2;
  18. if (cislo > 65536)
  19. break;
  20. Console.WriteLine(cislo);
  21.  
  22. }
  23.  
  24. Console.ReadKey();
  25.  
  26. }
  27.  
  28.  
  29.  
  30.  
  31.  
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement