#include <stdio.h>
int main(void)
{
int age;
printf("Quel age avez vous ? \n");
scanf("%d", &age);
if ( age<18 || age>65 )
{
printf("Reduc autorise\n");
}
else
{
printf("Pas de reduc \n");
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: