final tests
This commit is contained in:
parent
a18612f583
commit
a84655600d
34 changed files with 309 additions and 32 deletions
13
test/branch/if-else-if.c
Normal file
13
test/branch/if-else-if.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
int printf(char* format, ...);
|
||||
|
||||
int main() {
|
||||
int a = 5;
|
||||
if (a == 3) {
|
||||
printf("a is 3\n");
|
||||
} else if (a == 4) {
|
||||
printf("a is 4\n");
|
||||
} else {
|
||||
printf("a is not 3 or 4\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue