Skip to content

Instantly share code, notes, and snippets.

View urjaman's full-sized avatar
💭
Too employed (as a machinist) for coding work lol

Urja Rannikko urjaman

💭
Too employed (as a machinist) for coding work lol
View GitHub Profile
@urjaman
urjaman / gist:6461505
Last active December 22, 2015 10:49 — forked from Cloudef/gist:6460989
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
int main(int argc, char **argv) {
long int numbers[5] = { 0 };
long int highest = 0;
if (argc < 2 || strlen(argv[1]) < 5) {
fprintf(stderr, "5 digits minimum input string must be given\n");