C++ Interview question : Convert milliseconds to seconds in C++

Convert milliseconds to seconds in C++