Need Help Completing Using C Use Main Driver Test Currency Class Class Test Driver Void I Q37205170

I need help completing this using C++.

Instructions Complete the currency class interface and implementation of the following methods e get currencV operator+ for c

Use this main driver to test your currency class

////////////////////////////
// Class Test Driver
////////////////////////////

void input(istream &in1, currency &m1);

int main(){
currency m1, m2(10.45);
double mula = 6.75;

m1.set(3.21);
currency m3 = m1 + mula;

cout << “nmula: ” << mula << endl;
cout << “m1: ” << m1 << endl;
cout << “m2: ” << m2 << endl;
cout << “m3: ” << m3 << endl;
cout << “nmula: ” << –mula << endl;
cout << “m1: ” << m1– << endl;
cout << “m2: ” <<

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.