Programming and Problem Solving with Java

(やまだぃちぅ) #1

Case Study Follow-Up


1.Rather than having the number of elements be a constant, ask the user to
input the number of elements to be searched.
2.Create another applet exactly like the altered version of Searchin Case Study
Follow-Up Exercise 1, but replace the linear search with a linear search in a
sorted list. Don’t forget to sort the values before you search.

680


T


E


A


M


F


L


Y


Team-Fly®

Free download pdf