Quiz: else if
#include <stdio.h>
int main(void) {
int age = 70;
if (age >= 18) {
printf("Adult ticket\n");
} else if (age >= 65) {
printf("Senior ticket\n");
} else {
printf("Child ticket\n");
}
return 0;
}Start programming for free
7/13