Patrick B. answered 04/13/21
Math and computer tutor/teacher
using namespace std;
#include <iostream>
#include <math.h>
int main()
{
double x;
cout << " Please input the decimal number :>";
cin >> x;
cout << x << " is between " << floor(x) << " and " << ceil(x) << endl;
}