06-11-2015 10:00 AM
Does anyone have any ideas for how I can randomly assign a for loop to add or subtract random numbers throughout various itterations? My current code generates two random numbers and adds them together for a set number of itterations. I need some random itterations to be subtraction. Thanks in advance!
Solved! Go to Solution.
06-11-2015 10:06 AM
Add another Random Number generator and compare the result against 0.5. Use a case structure around your addition/subtraction operator.
Seems like you might also want to output which operation actually got picked.
06-11-2015 10:19 AM
Works great! Thank you.