printf("The Smallest Value In The Array Is %d",array);
and i tried to work on my indentation
but why it didn't work when i used the first example
maybe because i assumed that the smallest value wouldn't be smaller than 0??
and i guess that OnionKnight's idea is some kind of sorting right ?