New course! Every coder should learn Generative AI!
Try a free lesson0
How to roundup float value to integer value like2.67=3, 2.43=2 ,etc . Using any c library function
1 Answer
0
Look at ceil and floor functions
https://en.m.wikibooks.org/wiki/C_Programming/math.h