full: https://onlinegdb.com/HJN6CGLTD
hi need help in here : want a code that check input1 and see if its already in array or not if it is error if not push it in arr