/* Modular Example */ /* main.cpp */ /* OOP244 */ /* Jan 14 2009 */ #include "main.h" #include "transaction.h" int main( ) { int i, acct; char type; double amount; for (i = 0; i < NO_TRANSACTIONS; i++) { enter(&acct, &type, &amount); display(acct, type, amount); } return 0; }