#include "CreditCard.h" // provides CreditCard, cout, string using namespace std; // make std accessible int main() { // creates and tests a credit card 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 << "\n At end of first month:\n" << visa; visa.chargeIt(128.00); visa.chargeIt(100.00); visa.makePayment(100.00); visa.makePayment(190.00); visa.makePayment(10.00); visa.endOfMonth(); cout << "\n At end of second month:\n" << visa; }