default constructor - set names to empty string and balance to zero
constructor that uses names only-default balance to zero
constructor with names and a beginning balnce
1. What are samples of how those would look like with these objects?
Declare these objects:
obj1 Sam donner with a balance of 2500
obj2 cheryl polk with no intial balnce
obj3 no name or balance
savings(); // obj 3
savings(string f, string l); //obj2
savings(string ff, string ll, float bal); // obj1
2007-02-14
06:40:45
·
3 answers
·
asked by
COD
3
in
Computers & Internet
➔ Programming & Design