Unable to load image

Which C compiler should I buy? :marseyveryworried: :pepehacker:

https://i.rdrama.net/images/17320486846601448.webp

https://i.rdrama.net/images/1732048683593764.webp

https://i.rdrama.net/images/17320486839809165.webp


https://i.rdrama.net/images/17320486845101004.webp https://i.rdrama.net/images/17320486842806523.webp

59
Jump in the discussion.

No email address required.

#include <stdio.h>

#include <stdbool.h>

#include <stdlib.h>

#include <time.h>

bool autismDiagnosis(int score) {

return score > 2;

}

int main() {

srand(time(NULL)); 

printf("Welcome to the Autism Diagnosis Program 9000!\n");

printf("Answer these questions to determine if you are on the Spectrum of Hilarity:\n\n");

char answer;

int score = 0;

printf("1. Do you watch anime? (Y/N): ");

scanf(" %c", &answer);

if (answer == 'Y' || answer == 'y') score++;

printf("2. When someone says 'literally', do you feel compelled to check if they mean 'literally'? (Y/N): ");

scanf(" %c", &answer);

if (answer == 'Y' || answer == 'y') score++;

printf("3. Are you a moderator on rdrama? (Y/N): ");

scanf(" %c", &answer);

if (answer == 'Y' || answer == 'y') score++;

printf("4. Have you ever corrected someone's grammar in casual conversation? (Y/N): ");

scanf(" %c", &answer);

if (answer == 'Y' || answer == 'y') score++;

printf("5. Do you think family guy is funny? (Y/N): ");

scanf(" %c", &answer);

if (answer == 'Y' || answer == 'y') score++;

printf("\nTallying up your results...\n");



if (autismDiagnosis(score)) {

    printf("\nBased on highly scientific analysis, you might find the world a bit more... logical and detailed than most.\n");

    printf("Talk to a professional! (autistic)\n");

} else {

    printf("\nCongratulations! You've been deemed Neurotypically humorous. (not autistic)\n");

}

return 0;

}

Jump in the discussion.

No email address required.

Praying Trump gets elected so you get sent to some kind of concentration camp

Jump in the discussion.

No email address required.

https://media.tenor.com/RPSWB_prbB4AAAAx/scream-run-away.webp

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.