Untitled

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

int main() {
	double x;
	int a = 0;
	float b = 0;
	cin >> x;
	a = int(x);
	b = x - a;
	cout << int(b * 10);
}
Leave a Comment