Untitled

 avatar
user_0563559
c_cpp
2 years ago
140 B
4
Indexable
#include <iostream>
using namespace std;

int main()
{
    double d;

    cin >> d;

    cout << (int)(((d - ((int)d)) * 10));

}
Editor is loading...
Leave a Comment