Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Swift Basics (retired) Operators Binary Operators

Santiago Srz
Santiago Srz
6,631 Points

You need to define the areaInFeet constant with `let areaInFeet`. i don't understan

how can i define the areInfeet constant with the let areaInfeet i do it like this // in feet let areaInfeet = height * weight

1 Answer

Patrick Cooney
Patrick Cooney
12,216 Points

Do a search for this one on the forum. I'm pretty sure I've seen this one before. Keep in mind the number you are being given in that problem is in inches. So to convert it to feet there is a little bit of math you need to do from within your code. 12 inches in 1 foot. Give it a shot on your own using that bit of information and if you can't figure it out dig up the answer on the forums.