Guest User

Untitled

a guest
Jan 21st, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. int menor1;
  2. int pos;
  3. menor1= num[0];
  4. pos=0;
  5. for(int f=1;f< num.length;f++) {
  6. if ( num[f]<menor1) {
  7. menor1= num[f];
  8. pos=f;
  9. }
  10. }
  11. return menor1;
  12. }
Add Comment
Please, Sign In to add comment