✏️ Explanatory Question
[Primitive Values, Wrapper Classes, Types and Casting]
Complete the code of TeacherA and name the technique used:
TeacherA:
int average = ( ____ )((m1 + m2 + m3) / 3);
TeacherB:
int average = Math.round((m1 + m2 + m3) / 3);
Complete the code of TeacherA and name the technique used:
int average = ( ____ )((m1 + m2 + m3) / 3);
TeacherB:
int average = Math.round((m1 + m2 + m3) / 3);