assignments:a3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
assignments:a3 [2016/07/14 18:22] – pawluk | assignments:a3 [2016/08/06 12:54] (current) – pawluk | ||
---|---|---|---|
Line 17: | Line 17: | ||
===== Specification ===== | ===== Specification ===== | ||
[[http:// | [[http:// | ||
+ | |||
+ | ===== Solution ===== | ||
+ | [[http:// | ||
===== NOTES and EXPLANATIONS ===== | ===== NOTES and EXPLANATIONS ===== | ||
- | There is a small error in the spec that is causing lots of confusion. To make it easier, please modify the speeding formula. It says now (3 * gas - 50). | + | * There is a small error in the spec that is causing lots of confusion. To make it easier, please modify the speeding formula. It says now (3 * gas - 50). |
+ | |||
+ | * Please change it to (3 * gas_max - 50) where gas_max is a maximum of gas that the car can carry. Let's assume that gas_max is always > 15. | ||
+ | |||
+ | * It is your design decision. Whatever you choose, you have to handle errors. | ||
+ | |||
+ | * BON without explanation is 1/3 of the mark (no code is required for design questions from part 2) | ||
+ | * Do not include any code of Cars in your report. Eiffel implementation has to be submitted for Cars, so it is redundant! | ||
- | Please change it to (3 * gas_max - 50) where gas_max is a maximum of gas that the car can carry. Let's assume that gas_max is always > 15. | + | PPawluk |
assignments/a3.1468520531.txt.gz · Last modified: 2016/07/14 18:22 by pawluk