Skip to content

Instantly share code, notes, and snippets.

@H3wastooshort
Last active January 5, 2021 12:11
Show Gist options
  • Save H3wastooshort/40bcdaa9bab189c67d9033d0f78dc1fb to your computer and use it in GitHub Desktop.
Save H3wastooshort/40bcdaa9bab189c67d9033d0f78dc1fb to your computer and use it in GitHub Desktop.
howami. Because everyone always asks who i am, but never how i am :(
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <time.h>
int main () {
srand ( time(NULL) );
bool yes_no = rand() & 1;
if (yes_no) {
printf("im fine\n");
return 0;
}
if (!yes_no) {
printf("im not fine\n");
return 1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment