small banking profit calculation program