diff --git a/algorithms/Java/searching/Indexsequentialsearch.java b/algorithms/Java/searching/Indexsequentialsearch.java new file mode 100644 index 00000000..924e3607 --- /dev/null +++ b/algorithms/Java/searching/Indexsequentialsearch.java @@ -0,0 +1,57 @@ +import java.util.*; +public class Indexsequential { + public static void main(String[] args) { + int n,c; + Scanner sc=new Scanner(System.in); + n=sc.nextInt(); + int ar[]=new int[n]; + for(int i=0;i