C Simple If Statement Examples

 
if (intAge >= 18)
              printf(“Able to Vote”);
 
if (intScore = = 100)
            {printf(“Congratulations \n”);
             printf(“Perfect Score”);
            }

 
if (intAge < 21)
           {printf(“Under Age”);}