Untitled
unknown
c_cpp
2 years ago
185 B
5
Indexable
#include <iostream>
using namespace std;
int main()
{
float n;
cin >> n;
int c = n;
float si = n - c;
if (si >= 0.5) cout << c + 1;
else cout << c;
}Editor is loading...
Leave a Comment