Untitled
Anonymous
c_cpp
11/24/2023 4:33 PM
204 B
18
Indexable
#include <iostream>
using namespace std;
int main()
{
float a;
cin >> a;
if (a >= int(a) + 0.5) cout << int(a) + 1;
else cout << int(a);
}Editor is loading...
Leave a Comment