Cognizant interview question

Write a program on bubble sort?