Last active
March 2, 2017 19:35
-
-
Save walshman23/c367701d7862a1d3b89da150e419db1a to your computer and use it in GitHub Desktop.
Spicer Sort
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Error checking not needed. */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
int main(void) | |
{ | |
int ch; | |
while ((ch=getchar()) != EOF) { | |
putc(ch, stdout); | |
} | |
return fprint(stderr, "PERIOD."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment