program for if-else