1. What I learned

    How to write decimal points for a number

        Use “cout.precision()” to indicate decimal places. Write down the decimal place in parentheses.

2. Code

#include <iostream>

using namespace std;

int main(void) {
    int a, b;
    cin >> a >> b;
    cout.precision(10);
    cout << (double)a/b << "\n";

    return 0;
}

3. Result

        Runtime : 0 ms, Memory usage : 2016 KB
        (Runtime can be different by a system even if it is a same code.)

Check out the my GitHub repo for more info on the code. If you have questions, you can leave a reply on this post.