Untitled

mail@pastecode.io avatar
unknown
c_cpp
6 months ago
174 B
0
Indexable
Never
#include <iostream>
#include <string>
using namespace std;

int main()
{
    float a;
    cin >> a;
    int b = int(a);
    cout << b << endl;
    cout << a - b;
}