i'm getting th error, when i put a method to get the position of the smallest no

Printable View