C++
View coments from other users
An array is idealistic if it is sorted and it has all thenumbers from 1 to max_of the array.
Example: 1 2 3 4 5 6 7 is an idealisticarray.
Unfortunately, these arrays are not very useful and are not useda lot. You are given an array of n integers. A user needs tocomplete this array to an idealistic one. Your program needs tohelp the user do so by printing blanks where items are missing.
Suppose that the input is 4 1 2 6 8 7 10. The max_array is 10.Hence, you need to print the following array
1 2
PayPal Gateway not configured
PayPal Gateway not configured