Red Bus interview question

write a bubble sort program