Exercise #25 page 2 |
||||||||||||||
What is not yet considered? We shall recall the phrase of the above in the beginning of the chapter: “PCs with the lowest RAM and the highest-speed processor among PCs with the lowest RAM”. Actually, we have here two conditions: PCs with the lowest RAM and PCs with the highest-speed processor among PCs with the lowest RAM In solution being inspected, there is used only the second one of these conditions, namely, the solution finds models with speed coincided with the maximum speed among models with lowest RAM. I explain in terms of an example. If the least RAM capacity for PC in the database is 64 Mb and there are such PC models:
The code used for definition of the needed processor speed
Of course the right selection is only the model {600, 64}. I hope it isn't difficult to solve this task now :-).
|