write a c++ program using Object Oriented Programming 
to accept Customer Code No , Customer Name and Total Bill Amount 
of  (n) number of customer 
n is accepted at runtime 
Also after accepting print the data as per format given below
Customer 
Code No          Name                     Total Bill Amount
--------------------------------------...
--------------------------------------...
Grand Total                             
Print  the Grand total  in word format as
If  Grand total  is    8769
Print as                    EIGHT   SEVEN   SIX   NINE
Member Function prototype is 
char *   wordnum ( int ) ;
Write a c++ program using Object Oriented Programming?
Wow.. I tell you something that it's going to be a big program, and it won't be feasible to get it all up here!
Let's start then! First you have to create a link list, or if you want, you can declare an array, and ask for the number of customers. The array that you will declare should be a class object which will have all the required fields, as customer number, name, etc. Then, you input the values, and output them. If this works fine, go ahead and do the rest, which will be a lot easier to implement.
I hope I gave you a good starting point.
Good Luck!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment