SciTec interview question

Create a C++ program converting LLA coordinates to ECEF coordinates