New course! Every coder should learn Generative AI!
Try a free lesson0
Como se redondea al mayor nĂșmero en c++?
2 Answers
0
LuXuz
its round a variable to the nearst integer like:
double x= 11.3;
int a = round(x) ;
a will be 11
if x= 11.5
a will be 12 etc..
0
Gracias