Accenture interview question

Simple pattern programs and beginner level programming