1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#include <iostream>
#include <string.h>
#include <string>
using namespace std;
char Ones[] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"
, "ten", "eleven", "twelve", "thirteen", "fouthteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" };
char Tens[] = { "twenty", "thirty", "fourty", "fifty", "sixty", "seventy", "eighty", "ninety" };
int main()
{
cout << "Please enter a number: " << endl;
system("pause");
return 0;
}
|