I am trying to figure out what I am doing wrong. I have included cmath.
I want to round the value of a double to the next whole number using the ciel function and store that value in a integer. This is what I have.
The error is type int unexpected. If I do it like this:Code:int wholeScore; double preciseScore = 7.33; wholeScore = int ciel( preciseScore )
I get error ciel undeclared identifier.Code:wholeScore = ciel( preciseScore )
Thanks for your help!