Write a program that reads a series of integers from the user until a duplicate number is entered. The program should then display the first duplicate number encountered.
Jump statements
Duplicate
Report a typo
Sample Input 1:
1 2 3 4 5 6 2Sample Output 1:
2Write a program in C++
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.