Untitled
unknown
c_cpp
2 years ago
162 B
4
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