Accenture interview question

Programming Logic for star pattern