Right now, I have something like:
--
int x, y, z = 0
cin>>x;
x = ((y * 3 + z) / 4);
--
I am getting a decimal that I want rounded to a whole number. My question is, how can i see what the value is to know if i round up or down?
|
Results 1 to 10 of 10
Threaded View
|
Click Here to Expand Forum to Full Width |