Advertisement
lozan123

--

Apr 28th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.16 KB | None | 0 0
  1. private int ardtv00(int n)
  2. {
  3.     int t =
  4.  
  5.  
  6.  
  7.  
  8. private int ardtv01(int n)
  9. {
  10. int t = 0;
  11. int x = n;
  12. while (true)
  13. {
  14. t += x;
  15. x--;
  16. if(x==0) return t;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement