#include<stdio.h> #include<conio.h> void main(){ int age,x=1; while (x=1) { printf("\n Plz., enter your age, if you are not a chhote bacchi = "); scanf("%d",&age); age>=18?(printf("You are eligible for vote.")):(printf("Chhote bacchi ho kya.")); } }
#include<stdio.h> #include<conio.h> void main(){ int age,x=1; while (x=1) { printf("\n Plz., enter your age, if you are not a chhote bacchi = "); scanf("%d",&age); age>=18?(printf("You are eligible for vote.")):(printf("Chhote bacchi ho kya.")); } }