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