Rapsodo interview question

Simulate multiple sensor data retrieval and mathematical analysis process using C++.