Question: Desciplian: information: 2 . You must we la vu record to store informetion about cach wiloment 4 . The thlle must be printed alphabetically whth

Desciplian: information:
2. You must we la vu record to store informetion about cach wiloment
4. The thlle must be printed alphabetically whth the name of the elemerts.
5. The format for sach output element:
Methods required:
int linearsearch(Elenent[] table, int actualsize, string syabol) returns the index if found, else -1
vold printTable(Element[] table, int actualsize, String filahano) output the pericosic table to the filelame
Required 1io:
Periodic Toble by F, Last
Periodic table loaded with * elements.
K Baarah by atonio nuntar
$Semrch by syebol
P Frint table to a file
0 Duit
Belact? 8
Where F. Last is your last mane, of the maziber of wienamats losdind from the file.
Far chaisa ?***
Enter atonin nubber? :
1 H Mydropen 1.81
Or
4 not Tound
For choios S:
Enter ayobal? $
1 H Hydrogun
1.81
Or
$ not found
Mer chonee P .
Enter file nane? $
Trable saved in 5.
Filo save format
Desciplian: information: 2 . You must we la vu

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!