Futurense Technologies interview question

Patterns programs & looping related questions