/** Program to test the CreditCard Class */ #include "CreditCard.h" // provides CreditCard #include // provide cout using namespace std; // make std accessible int main() { // CreditCard test function CreditCard visa("5391 0375 9387 5309", "John Bowman", 2500, 0.0079); visa.chargeIt(25.00); visa.chargeIt(500.00); visa.chargeIt(100.00); visa.endOfMonth(); cout << endl << "At end of first month:" << endl << visa; visa.chargeIt(228.00); visa.makePayment(100.00); visa.makePayment(190.00); visa.makePayment(10.00); visa.endOfMonth(); cout << endl << "At end of second month:" << endl << visa; return 0; }