C
This commit is contained in:
14
booleans.c
Executable file
14
booleans.c
Executable file
@ -0,0 +1,14 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
int main() {
|
||||
int votingAge = 18;
|
||||
int myAge = 18;
|
||||
if (myAge > votingAge) {
|
||||
printf("Oy verebilirsiniz!");
|
||||
} else if (myAge == votingAge) {
|
||||
printf("test2");
|
||||
} else {
|
||||
printf("test1");
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user