Original Post
I am working on converting an excel spreadsheet into sourcecode, but I've ran into a problem. Heres a simplified version of the problem: where A = 4: B = A + (C * 2) C = B / 2 What is B and C? Excel says B is 40, and C is 20.. the only way I can get to that value is by iterating 10 times starting where C = 0. I am almost certain though that theres a mathematical way of doing this... any help would be greatly appreciated!