C: roman numerals

This commit is contained in:
2021-08-16 16:58:27 +02:00
parent e357f5c26a
commit 04f1f5e23b
5 changed files with 266 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#ifndef ROMAN_NUMERALS_H
#define ROMAN_NUMERALS_H
#define ROMAN_RULE 0
char *to_roman_numeral(unsigned int number);
/* See GNUmakefile below for explanation
* https://github.com/braoult/exercism/blob/master/c/templates/GNUmakefile
*/
#if defined UNIT_TEST || defined DEBUG
#include <stdio.h>
#include <stdlib.h>
#endif
#ifdef TESTALL
#undef TEST_IGNORE
#define TEST_IGNORE() {}
#endif
#endif