I have been recently using the Xcode console tool to build simple programs. What I am trying to do is set a value say "x" equal to a division of variables. Xcode seems to work with adding and subtracting but not with setting variables equal to division of variables. Here is my code for further reference:
scanf("%ix^2+%ix+%i", &h, &i, &j);
k = h/m; <---- Error
l = i - n;
m = h/k; <---- Error
n = i - l;
l = j/n; <---- Error
NSLog(@"(%ix+%i)(%ix+%i)", k, l, m, n);