Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
130 B
1
Indexable
Never
#include <iostream>

using namespace std;

int main() {
	double num;
	cin >> num;
	cout << int(num) << endl << num - int(num);
	
}