ibs interview question

Write a program for bubble sort