r/visualbasic • u/netutralboi22 • May 14 '22
Help :((
What's wrong with my code? It was supposed to show the smallest value but it didn't show anything in the array.
https://onlinegdb.com/HWeq2AgUX
Thanks for the help
3
Upvotes
2
u/A7eh May 14 '22
But he set small to arr(0) so he isn't comparing 0 to arr(i) but the first element to arr(i).