You can print or execute things in C in two ways.

If Statement:

#include <stdio.h>
int main() {
    int five = 5;

    if (five == 5){
        printf("The Number is five\\n");
    }else if (five == 6){
				printf("The number is six");
  }else{
				printf("Fail"); 
   }
}

Like other languages, C has If Statement with Else If and Else.

Switch Statement:

#include <stdio.h>
int main() {
    int five = 5;

    switch(five){
        case 1:
            printf("this is number 1\\n");
            break;
        case 5:
            printf("this is number 5\\n");
            break;
        default:
            printf("None of the code was executed\\n");
    }
}