TATA ELXSI interview question

Write a program based on C, C++ and MATLAB