¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Como se redondea al mayor número en c++?
2 Respuestas
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