Untitled

Anonymous
c_cpp
11/29/2023 1:53 PM
216 B
13
Indexable
#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);
}
Editor is loading...
Leave a Comment