Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
#include
using namespace std; int main() { cout << round(0.60) << "\n"; cout << round(0.40) << "\n"; cout << round(5) << "\n"; cout << round(5.1) << "\n"; cout << round(-5.1) << "\n"; cout << round(-5.9) << "\n"; return 0; }
1
0
5
5
-5
-6