c program nested if else