example of if statement July 17, 2020 #include<stdio.h>int main(){ int a; printf("Enter your age\n"); scanf("%d",&a); if (a>=18) { printf("you can vote"); } return 0;} Share Get link Facebook X Pinterest Email Other Apps Labels c programming Share Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment