1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-11-09 22:08:58 +01:00
programming-challenges/challenges/camel-case/solutions/c/function/solution.c

17 lines
296 B
C
Raw Normal View History

#include <stdio.h>
#include <stdlib.h>
#include "character.h"
#include "input.h"
#include "string.h"
int main() {
char* string = input();
string_trim(string, ' ');
char* result = string_camelCase(string);
printf("%s\n", result);
free(string);
free(result);
return EXIT_SUCCESS;
}