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
#include<stdio.h> | |
#include<stdlib.h> | |
#include<string.h> | |
#define bool int | |
#define true 1 | |
#define false 0 | |
int get_value(char roman_number) { | |
switch(roman_number) { |
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
#include<stdio.h> | |
#include<string.h> | |
#define TRUE 1 | |
#define FALSE 0 | |
#define LENGTH_LIMIT 1000 | |
int is_char_vowel(char c) { | |
switch (c) { |
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
#include<stdio.h> | |
#include<string.h> | |
#define TRUE 1 | |
#define FALSE 0 | |
#define ZERO '0' | |
#define NINE '9' | |
#define TOTAL_LENGTH 14 |