Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i have 2 integers and i want something to run something a designated amount of times.
- I have to run something the amount of times that are equal to:
- the numbers between 2 integers. example: 1-3, that would equal to 1.
- Then i want to include another 1 for the starting integer.
- so 1 - 3 would be to run it 3 times.
- Hence 1-3 = 2 + 1 = 3. 1-3 would mean 3.
- 1-100 would be to run it 100 times.
- BUT if it is starting at 0 it should only minus the numbers:
- 0-100 would be 0-100 = 100. Run it 100 times.
- FINISHED, problem one solved.
- ---/////////---\\\\\\\----
- Problem two:
- I want something to run for x amount of times.
- 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.
- i have 2 integers and i want something to run something a designated amount of times.
- I have to run something the amount of times that are equal to:
- the numbers between 2 integers. example: 1-3, that would equal to 1.
- Then i want to include another 1 for the starting integer.
- so 1 - 3 would be to run it 3 times.
- Hence 1-3 = 2 + 1 = 3. 1-3 would mean 3.
- 1-100 would be to run it 100 times.
- BUT if it is starting at 0 it should only minus the numbers:
- 0-100 would be 0-100 = 100. Run it 100 times.
- FINISHED, problem one solved.
- ---/////////---\\\\\\\----
- Problem two:
- I want something to run for x amount of times.
- 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.
- i have 2 integers and i want something to run something a designated amount of times.
- I have to run something the amount of times that are equal to:
- the numbers between 2 integers. example: 1-3, that would equal to 1.
- Then i want to include another 1 for the starting integer.
- so 1 - 3 would be to run it 3 times.
- Hence 1-3 = 2 + 1 = 3. 1-3 would mean 3.
- 1-100 would be to run it 100 times.
- BUT if it is starting at 0 it should only minus the numbers:
- 0-100 would be 0-100 = 100. Run it 100 times.
- FINISHED, problem one solved.
- ---/////////---\\\\\\\----
- Problem two:
- I want something to run for x amount of times.
- 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.
- i have 2 integers and i want something to run something a designated amount of times.
- I have to run something the amount of times that are equal to:
- the numbers between 2 integers. example: 1-3, that would equal to 1.
- Then i want to
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement