Could someone tell me why this loop is an infinite loop?
double count = 0.0;
while( count != 1.0)
{count += 1.0/10;}
And why this loop is not an infinite loop
double count = 0.0;
while( count != 1.0)
{count += 1.0/3;}
I've been trying to wrap my head around this as a beginner and it really isn't making sense for me.