Hello ladies and gents,
Ive written a program wich I'm almost certain it'll work, Ive only got one problem, I need to write an if like this:
int a = 0;
if ( u!=x)
a++;
Now, u is a floating variable wich is divided before this selection by 2, 3, 5.
It's got to state that when u equals any floating point like 1.1 untoo 1.9 it shouldn't ad one to a, if u is 2.0 or 3.0 or whatever aslong as it's not .1 untill 0.9, it should ad a++
It's probably something simple wich I'm not seeing, but I can't figure out what :)
Any help would be appreciated.