While loop C programming with Examples