TORONTO KIDS COMPUTER CLUB | Markham Saturday 14:00 Java Homework 20.10.03.
18426
post-template-default,single,single-post,postid-18426,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Markham Saturday 14:00 Java Homework 20.10.03.

07 Oct Markham Saturday 14:00 Java Homework 20.10.03.

Question 1:
Continue with the code in the last class please run the below
queries
1. Print two computer names with the lowest speed
2. print two computer names with the highest speed
3. Print two computer with the highest score of k = 3*r – 1*s
4. print 3 computers with the highest storage


Question 2:

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.