Question: please write a c++. don't copy other code. Chapter 14 More About Classes Programming Challenges 1. Numbers Class Design a class Numbers that can be

please write a c++. don't copy other code.
please write a c++. don't copy other code. Chapter 14 More About

Chapter 14 More About Classes Programming Challenges 1. Numbers Class Design a class Numbers that can be used to translate whole dollar amounts in the tange translated into eight thousand two hundred three. The class should have a single inte. ger member variable: int number; and a static array of string objects that specify how to translate key dollar amouns into the desired format. For example, you might use static strings such as string lessthan 20[20]={ "zero", "one", ..., "eighteen", "nineteen" }; string hundred = "hundred"; string thousand = "thousand"; The class should have a constructor that accepts a nonnegative integer and uses it to initialize the Numbers object. It should have a member function print () that primt the English description of the Numbers object. Demonstrate the class by writing a mait program that asks the user to enter a number in the proper range and then prints ou its English description. Day of the Year

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!