Logo 
Search:

Technical Conversation of Mamadou

 
Enter your message (HTML allowed after you earn 150 points)
Mamadou Soro
  Mamadou Soro from United States    Oct 07
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.