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
This note was uploaded on 07/14/2013 for the course CISC 130 taught by Professor Smith during the Fall '08 term at St. Thomas.
- Fall '08