Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Program With Sequential Search

  Asked By: Mamadou    Date: Oct 07    Category: Java    Views: 1652
  

create a function based on Sequential Search and a program that will generate a list of random numbers in the range of 1 to N that you can use for your search, where N could be any number between 100 and 1000.Your main program should then call the sequential search for each number between 1 and N.

Hint:

1) Generate N random number where user should be ask to input N random number and store them in an array (Method 1)

2) Ask users to enter a target(key) between 100 and 1000

3) Start searching using Sequential Search (Method 2)

So the program should have 2 methods and the main method.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Peter Smith     Answered On: Jan 27

thanks you !! Thanks to you two, I know a lot of things. thanks again<a href.

 
Didn't find what you were looking for? Find more on Program With Sequential Search Or get search suggestion and latest updates.




Tagged: