Update OOP/Java/Lab/Week3/ArraySearch.java
This commit is contained in:
parent
9583d82a23
commit
d7432df050
@ -11,7 +11,6 @@ public class ArraySearch {
|
|||||||
|
|
||||||
System.out.println("The value is found at the locations: ");
|
System.out.println("The value is found at the locations: ");
|
||||||
|
|
||||||
|
|
||||||
for(int i:array){
|
for(int i:array){
|
||||||
if(i == b){
|
if(i == b){
|
||||||
System.out.print(" a["+index+"]");
|
System.out.print(" a["+index+"]");
|
||||||
|
Loading…
Reference in New Issue
Block a user