Untitled
Anonymous
plain_text
11/25/2023 4:10 PM
168 B
15
Indexable
#include <iostream>
using namespace std;
int main()
{
double n;
cin >> n;
int v = (int)(n + 0.5);
cout << v;
}Editor is loading...
Leave a Comment
#include <iostream>
using namespace std;
int main()
{
double n;
cin >> n;
int v = (int)(n + 0.5);
cout << v;
}