Control Flow

Mutant supports simple conditions and branching through if/else statements. Let’s see them in action in below examples:

Example 1
if(1 == 1) {
    puts("yes");
}
Example 2
if(1 == 2) {
    puts("yes");
} else {
    puts("no");
}
Example 3
if(1 == 2) {
    puts("yes");
} if(1 == 3) {
    puts("yes 3");
} else {
    puts("no");
}