#include string smalls[] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" }; // this version is guaranteed correct for any number < 20 // correct for X means it will say the number X corectly in words void say_number(int N) { if (N < 20) print(smalls[N]); else { print("I don't know how to say "); print(N); print(" yet"); } } int main() { const int number = read_int(); say_number(number); new_line(); }