Not a Double Number Not a Double Number You are getting input as 11 numbers [ 1 to 6], all the numbers appear twice exce
Posted: Sun May 15, 2022 1:30 pm
JAVA PROGRAMMING
Not a Double Number Not a Double Number You are getting input as 11 numbers [ 1 to 6], all the numbers appear twice except one number. You have to write a Java program to find that number for example, Input // always 11 numbers from 1 to 6, One number appears maximum of two times. // 11 lines - Integer number 2 2 3 3 1 4 1 4 6 5 6
Output:// All the numbers appeared twice except 5 so the result is 5 5 Input: 1 2 2. 1 3 3 mm LN 4 6 5 5 6 Output:// All the numbers appeared twice except 4 so the result is 4 4
Not a Double Number Not a Double Number You are getting input as 11 numbers [ 1 to 6], all the numbers appear twice except one number. You have to write a Java program to find that number for example, Input // always 11 numbers from 1 to 6, One number appears maximum of two times. // 11 lines - Integer number 2 2 3 3 1 4 1 4 6 5 6
Output:// All the numbers appeared twice except 5 so the result is 5 5 Input: 1 2 2. 1 3 3 mm LN 4 6 5 5 6 Output:// All the numbers appeared twice except 4 so the result is 4 4