Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
Como se redondea al mayor número en c++?
2 odpowiedzi
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