int function ( int [ ] arg0 , char arg1 ) { if ( arg1 == 'A' ) return arg0 [ 0 ] ; else if ( arg1 == 'B' ) return arg0 [ 1 ] ; else if ( arg1 == 'C' ) return arg0 [ 2 ] ; else if ( arg1 == 'D' ) return arg0 [ 3 ] ; else if ( arg1 == 'E' ) return arg0 [ 4 ] ; else if ( arg1 == 'F' ) return arg0 [ 5 ] ; else if ( arg1 == 'G' ) return arg0 [ 6 ] ; return - 1 ; }
result - gives choice of perticular course concode_field_sep int studentId concode_elem_sep int next concode_elem_sep int[] choiceArr concode_elem_sep double preferenceScore concode_elem_sep Vector<Character> assignedCourses concode_elem_sep Vector<Character> notAssignedCourses concode_field_sep int getIndex concode_elem_sep void setAssignedCourses concode_elem_sep Vector<Character> getNotAssignedCourses concode_elem_sep void setNotAssignedCourses concode_elem_sep String toString concode_elem_sep Vector<Character> getAssignedCourses