Hi everyone...
I was wondering if there is a way to convert a double value to an int value.
What i'm trying to do is to find the ceiling of an integer divided by 2.
Thank you!!Code:#include<math.h> int num = 5; double value = ceil(5/2); //int ceiling = value ///I want to do this.....