Guest User

Untitled

a guest
May 25th, 2019
93
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int posicionElementoEnArreglo(int arr[], int n, int el) {
  2.     int i;
  3.     for(i = 1; i <= n; i++) {
  4.         if (arr[i] == el) {
  5.             return i;
  6.         }
  7.     }
  8. }
RAW Paste Data