Advertisement
Guest User

Untitled

a guest
Sep 25th, 2018
70
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.  
  3.  
  4. namespace loopigri
  5. {
  6. class Program
  7. {
  8. static void Main()
  9. {
  10. int input = 100; //int.Parse( Console.ReadLine());
  11. int counter = 0;
  12. int a = 2;
  13. int newinput = input / a;
  14.  
  15. while (true)
  16. {
  17.  
  18. counter++;
  19.  
  20. Console.WriteLine(newinput);
  21.  
  22. if (counter == 2) { break; }
  23.  
  24.  
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement