Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. i have 2 integers and i want something to run something a designated amount of times.
  2. I have to run something the amount of times that are equal to:
  3. the numbers between 2 integers. example: 1-3, that would equal to 1.
  4. Then i want to include another 1 for the starting integer.
  5. so 1 - 3 would be to run it 3 times.
  6. Hence 1-3 = 2 + 1 = 3. 1-3 would mean 3.
  7. 1-100 would be to run it 100 times.
  8. BUT if it is starting at 0 it should only minus the numbers:
  9. 0-100 would be 0-100 = 100. Run it 100 times.
  10.  
  11. FINISHED, problem one solved.
  12. ---/////////---\\\\\\\----
  13. Problem two:
  14. I want something to run for x amount of times.
  15. X is the number i got earlier, minus 20 everytime it runs. so 40 would mean it should run twice. 41 means it should run 3 times.
  16.  
  17. i have 2 integers and i want something to run something a designated amount of times.
  18. I have to run something the amount of times that are equal to:
  19. the numbers between 2 integers. example: 1-3, that would equal to 1.
  20. Then i want to include another 1 for the starting integer.
  21. so 1 - 3 would be to run it 3 times.
  22. Hence 1-3 = 2 + 1 = 3. 1-3 would mean 3.
  23. 1-100 would be to run it 100 times.
  24. BUT if it is starting at 0 it should only minus the numbers:
  25. 0-100 would be 0-100 = 100. Run it 100 times.
  26.  
  27. FINISHED, problem one solved.
  28. ---/////////---\\\\\\\----
  29. Problem two:
  30. I want something to run for x amount of times.
  31. X is the number i got earlier, minus 20 everytime it runs. so 40 would mean it should run twice. 41 means it should run 3 times.
  32.  
  33. i have 2 integers and i want something to run something a designated amount of times.
  34. I have to run something the amount of times that are equal to:
  35. the numbers between 2 integers. example: 1-3, that would equal to 1.
  36. Then i want to include another 1 for the starting integer.
  37. so 1 - 3 would be to run it 3 times.
  38. Hence 1-3 = 2 + 1 = 3. 1-3 would mean 3.
  39. 1-100 would be to run it 100 times.
  40. BUT if it is starting at 0 it should only minus the numbers:
  41. 0-100 would be 0-100 = 100. Run it 100 times.
  42.  
  43. FINISHED, problem one solved.
  44. ---/////////---\\\\\\\----
  45. Problem two:
  46. I want something to run for x amount of times.
  47. X is the number i got earlier, minus 20 everytime it runs. so 40 would mean it should run twice. 41 means it should run 3 times.
  48.  
  49. i have 2 integers and i want something to run something a designated amount of times.
  50. I have to run something the amount of times that are equal to:
  51. the numbers between 2 integers. example: 1-3, that would equal to 1.
  52. Then i want to
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement