class BANKPROG creation make -- make is both constructor and "main" feature { NONE } -- components of class (NONE=private, ANY=public) make is -- implementation of constructor/main local myacct : BANK; youracct : BANK; do !!myacct.make(500); !!youracct.make(400); myacct.deposit(50); youracct.deposit(100); -- myacct.withdraw(400); io.put_integer(myacct.inquiry); io.put_string("%N"); io.put_integer(youracct.inquiry); io.put_string("%N"); end; -- make end -- end BANKPROG