((input / 2) + 50%)+remaining half of input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

((input / 2) + 50%)+remaining half of input

I wanna code a stock trading calculator so basically I need to be able to put the result of this through the same calculation x amount of times.

30th Jan 2022, 2:34 PM
Jason Bardyn
1 Answer
0
Jason Bardyn Use a loop.
30th Jan 2022, 7:32 PM
Benjamin Rogers
Benjamin Rogers - avatar