TORONTO KIDS COMPUTER CLUB | PMCA Sunday 12:00 Java Homework 20.06.28.
17822
post-template-default,single,single-post,postid-17822,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

PMCA Sunday 12:00 Java Homework 20.06.28.

30 Jun PMCA Sunday 12:00 Java Homework 20.06.28.

Question:

Roll First   Last
187  Evelyn  Beach
129  Dalton Wilkinson
129  Dalton  Pitts
170  Drake  Watkins
165  Oliver  Daniel
180  Igor  Olson
137  April  Graves
175  Dalton Jensen
163  Denton  Oliver
152  Audrey  Beck
189  Keelie  Martinez
151  Phyllis  Huffman
142  Lydia  Hartman
175  Jared  Tucker
140  Martin  Simon
189  Malcolm  Martinez
100  Naomi  Alford
134  Cara  Craft
103  Sara  Wheeler
177  Driscoll  Lester
180  Jarrod  Henson
193  Denton  Andrews
155  Addison  Morris
173  Ashton  Carrillo
163  Owen  Collier

1) create student object and input the data above data using a scanner

2) Sort the student array first by roll number; if the roll number is same, than sort by first name; and if the first name is same, than sort by the last name.

3) print the array

No Comments

Sorry, the comment form is closed at this time.