18
Switch
#include <stdio.h>
int main(void) {
    int input;
    puts("Please input a number.");
    scanf("%d",&input);
    switch(input) {
        case 1:
            puts("You inputed 1.");
            break;
        case 2:
            puts("You inputed 2.");
            break;
        default:
            puts("You inputed neither 1 nor 2.");
            break;
    }
    return 0;
}