Accenture interview question

Aptitude, basic programming test, logical reasoning