void function ( int arg0 ) { if ( arg0 == 0 ) { total = 0 ; } else { total = total / arg0 ; } addHistory ( "srini_string" , arg0 + "srini_string" ) ; }
this will divide integer to value and will return zero is value is equal to zero also will send the operator and value to the addhistory method concode_field_sep int total concode_elem_sep String history concode_field_sep void add concode_elem_sep String getHistory concode_elem_sep void subtract concode_elem_sep int getTotal concode_elem_sep void multiply concode_elem_sep void addHistory