Consider the following code (I'd use code tags - but I can't find the button for them):
int y = 159; // <- no meaning - just a number
float z = (float)y;
cout >> x >> y >> z;
x would be essentially random - you have no control over it whatsoever, y is 159, but would z be 159.000 etc... or would it come out with a completely random, something like 159.31415298? I have a lot of questions all for the same project all to do with data types - but I've posted them separately to avoid confusion and complexity.