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 exce
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Not a Double Number Not a Double Number You are getting input as 11 numbers [ 1 to 6], all the numbers appear twice exce
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!