Untitled
unknown
plain_text
2 years ago
1.7 kB
9
Indexable
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
//Asks the dumbass to enter their name.
char user_name[10];
printf("Whats your name: ");
scanf("%s", user_name);
printf("Hello %s", user_name);
printf("\n\n");
//Asks the dumbass if they are a boy or a girl (needs work)
char user_sex[10];
printf("Are you a boy or a girl %s ? ", user_name);
scanf("%s", user_sex);
printf("You said you are a %s that's really cool!", user_sex);
printf("\n\n");
//Asks the dumbass if they have a penis or vagina
char gender[20];
printf("Please enter your preferred pronouns (e.g., he/him, she/her, they/them): ");
scanf("%s", gender);
if (strcmp(gender, "he/him") == 0) {
printf("Do you have male anatomy (yes/no)? ");
} else if (strcmp(gender, "she/her") == 0) {
printf("Do you have female anatomy (yes/no)? ");
} else {
printf("Are you comfortable sharing information about your anatomy (yes/no)? ");
}
char anatomy[3];
scanf("%s", anatomy);
if (strcmp(anatomy, "yes") == 0) {
// Here, you can collect more specific information about their anatomy if needed.
printf("Thank you for sharing!");
printf("\n\n");
} else {
printf("Thank you for your response.");
printf("\n\n");
}
//Asks the dumbass how old they are.
int user_age;
printf("How old are you %s ", user_name);
scanf("%d", &user_age);
printf("You are %d years old", user_age);
printf("\n\n");
//Asks the dumbass their phone number.
long user_phone;
printf("Whats your phone number %s ", user_name);
scanf("%lu", &user_phone);
printf("You typed %lu", user_phone);
printf("\n\n");
return 0;
}Editor is loading...