public class A5_1 { byte registerX[] = {1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1}; byte registerY[] = {1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1}; byte registerZ[] = {1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0}; int counter = 0; byte findMajority(byte num1, byte num2, byte num3){ byte temp[] = {num1, num2, num3}; byte zero = 0; byte one = 0; for ( int i = 0 ; i < temp.length ; i++ ){ if ( temp..