C Program Using While Loop