Basically, say we have

int A;

int B;

int C;

What I want is...

the higher A, the less B is, but how much less depends on C. So, if C was 100, and A was 1, then B would be 100. But if C was 100, and A was 100, B would be 1 (for all the consecutive numbers)

Can anyone help?