# data[].attributes.body
input num;
for(int i = 0; I < array.length; i++){
if(array[i] == num){
return i;
}
}

# data[].attributes.body
int[] myArray = {1, 2, 3, 4...};
INPUT searchTerm
int i = 0;
WHILE searchTerm != myArray[i] DO
i = i + 1;
}
if searchTerm == myArray[i] DO
Output "Search term found"

# data[].attributes.body
int targetValue=input;
int[] Array = new Int[100];
for(int i = 0; I<Array.length;i--){
if(Array[i]==targetValue){
System.out.println(Array[i]+" found at position " + I);
break;

# data[].attributes.body
searchval=4
for(int i=0;i<array.length;i++){
if(array[i]==searchval){
System.out.println(array[i]+"               found at position "+I);
break;

# data[].attributes.body
n = user input
current = 0
last = array length
for (current != user input && current <= last)
if current = user input{
print item found in position current;
}
current ++;
}

# data[].attributes.body
i = 0
while (i < array.length){
if (array[i] == targetValue){
print item found
}else{
i ++
}
}

# data[].attributes.body
input targetNum
for i to array.length{
if(array[i]==targetNum)
return i

return-1

# data[].attributes.body
value = input
for(int i = 0; i<array.length; i++){
if (array[i] == value){
System.out.println("Value found at position" + i);

# data[].attributes.body
array <-- [1, 4, 2, 5]
for i <-- 0 to array.length:
if (array[i] = item):
Output "Item found at index " + i

# data[].attributes.body
Array MyArray = [9,2,3,4]
TargetElement = 3

for i<--1 to MyArray.length
if MyArray[i] == TargetElement
Then Output "Position" + i
endif
endfor

# data[].attributes.body
input target
for i to length
if array[i] == target
return I
return -1
i++

# data[].attributes.body
int[] myArray = {a, b, c, d,.....};
Output: "What item would you like to find?";
Input n
Boolean found = false;
for(int i = 1; i<=myArray.length; i++){
if(myArray[i]==n){
i = n+1;
Output: "Item found in position" + i
found = true
}
}
if (found = false){
Output: "Item not found"

# data[].attributes.body
https://youtu.be/0lF7WeV6sMY
Manr