15 lines
354 B
C
15 lines
354 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
int main(void) {
|
|
|
|
int tourellePrincipaleActive = 0, pourcentageArmesSecondairesActives = 71, radarActif = 0;
|
|
|
|
if ((tourellePrincipaleActive || pourcentageArmesSecondairesActives > 70) && radarActif) {
|
|
printf("Vaisseau sécurisé");
|
|
} else {
|
|
printf("Alerte sécurité");
|
|
}
|
|
|
|
return EXIT_SUCCESS;
|
|
}
|
|
|