SUNRISE FUTURES interview question

Probabilities and C++