SHARE
TWEET

Untitled

a guest Sep 15th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. #include<string.h>
  3. #include<stdlib.h>
  4.  
  5. int main()
  6. {
  7. int age;
  8. char gender;
  9.  
  10. printf("Please Enter your Age: \n");
  11. scanf("%d", &age);
  12.  
  13. if(age >=18){
  14.   printf("You are allowed to enter the site");
  15. }else{
  16. printf("GO Masturbate with your hand");
  17. }
  18.  
  19. printf("\nPlease enter male if you are a male, and female if you are a female.");
  20. scanf(" %s", gender);
  21.  
  22. if(gender == 'male')
  23.   printf("Male.");
  24.   else
  25.   printf("Female.");
  26. return 0;
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top