Program in C++
Task: Develop a program that reads numbers N, M (1 < N, M < 256) from the keyboard; a sequence of N keys (integers or real numbers depending on the task variant); a sequence of M keys. The program saves the first sequence to an array and performs sorting by exception. Then the program displays the sorted sequence on the screen and performs a binary search for each element of the second sequence. For each element of sequence M, report whether it is in the first sequence, and if so, at which position it is located.