Chotti Bacchi Checker using Conditional Operator in C language

PHOTO EMBED

Tue Apr 11 2023 16:38:58 GMT+0000 (Coordinated Universal Time)

Saved by @UpgraderBoy #c

#include<stdio.h>
#include<conio.h>

void main(){
    int age;
    read:
        printf("Plz., enter your age, if you are not a chhote bachhi = ");
    scanf("%d", &age);

    if (age>=18)
    {
        printf("You are eligibe to vote. \n");
    }
    else
    {
        printf("Chhote bacchi ho kya ? \n");
    }
    goto read;
    }
}
content_copyCOPY