Skip to content

Instantly share code, notes, and snippets.

@Morkrom
Morkrom / gist:cc94cedfc618281f78b4287ba514d3e3
Created December 4, 2022 22:58
Convert integer to roman numeral in C
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
static int oneThousand = 1000;
static int fiveHundred = 500;
static int oneHundred = 100;
static int fifty = 50;
static int ten = 10;