function findFirst(arr, val) { for (var i=0; i<arr.length; i++) { if (arr[i] == val) { write(val + " is found at index " + i + "\n"); return; } } write(val + " is not found!\n"); } numbers = [2, 5, 7, 6, 5]; write("Find: "); var num = read(); findFirst(numbers, num);
(
)
{
}
[
]
"
;
=
+
-
*
!
/
%
&
|