Société Générale Interview Question

Program this in VBA...