I need help with algorithms if possible
Posted: 19 Jun 2018, 21:09
So I have been working on a script but I need this:
A, b = 0, 1
While b > 5 A = 0 [5 is 3x5, 3 is whatever you want.]
Else A = 1 [1 is B-3, B is 37/50(74%) of the total of 5, B = A + 1]
[Divide the value of 5 by 26 to get B]
[A is a 3 stage fraction, of the final values]
3=4 so 5 3's = 20
At that point b would be 16
So b-3
Is 16-4
So 12
turned into a script that will output the different numbers created by it. Could someone please help once I'm done the script I intend on sharing it I just got stuck on this part.
Thanks in advance!
A, b = 0, 1
While b > 5 A = 0 [5 is 3x5, 3 is whatever you want.]
Else A = 1 [1 is B-3, B is 37/50(74%) of the total of 5, B = A + 1]
[Divide the value of 5 by 26 to get B]
[A is a 3 stage fraction, of the final values]
3=4 so 5 3's = 20
At that point b would be 16
So b-3
Is 16-4
So 12
turned into a script that will output the different numbers created by it. Could someone please help once I'm done the script I intend on sharing it I just got stuck on this part.
Thanks in advance!