The class should have a single integer member variable:
int number ;
and a collection of static string members that specify how to translate dollar amounts amounts into the desired string format. (Should they also be constants?)
For example, you might use static strings such as:
string lessThan20[ ] = " zero", "one", ..., " eighteen", "nineteen" } ; string hundred = "hundred" ; string thousand = "thousand" ;
The class should have a constructor that accepts a non-negative integer and uses it to initialize the Numbers object.
It also should have a member function print() that prints the English description of the Numbers object.
Demonstrate the class by writing a main program the asks the user to enter a number in the proper range and then prints out its English description on the console.
Submit all of your C++ code plus Printscreens (or snippets) demonstrating the following test cases: 5, 18, 295, 1019, and 9999.