This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ignment
• Calculate a cost for a simple custom boat
– Declare variables for length and width – Initialize to personally selected values – Cost = length x width x $87 + seats x $53 • Estimate the space available per person
– Estimate the area by assuming a simple ‘diamond’ shape • • • • AFTER making the simple case work, Add input for the length, width, #seats Add conditionals to check design’s sanity D...
View Full Document
- Fall '08