#include<stdio.h>
int main(){
int age;
printf("enter your age:");
scanf("%d",&age);
if(age>=18 || age<=70){
printf("you can drive");
}else{
printf("you cannot drive");
}
return 0;
}
I am not getting the required output "enter your age:you can drive"
Aucun commentaire:
Enregistrer un commentaire