Cognizant Interview Question

Write a program on bubble sort?