Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int age;
- printf("Enter your age: \n");
- scanf("%d", &age);
- if (age>=18 && age<=30)
- printf("You can join");
- else
- printf("You are not allowed to join");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement