code but ı couldnt understand the logic. Can someone help? Why is smallest and largest equal to 1 in the if condition ?
https://paste.ubuntu.com/p/nXHjvNPXWn/
you used & which is bitwise and, you should use && for logical and
Обсуждают сегодня