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
Darrell Brown
Courses Plus Student 1,288 PointsRuby Code Challenge ....Ruby Numbers Set the variable product to be a multiple of the variables a and b.
a = 6 b = 2
..... I thought it would be a * b or, 6 * 2
I'm a little confused here, please help guys, thanks
2 Answers
Clayton Perszyk
Treehouse Moderator 49,047 PointsYou want to declare a new variable, product and assign a* b to it.
Darrell Brown
Courses Plus Student 1,288 PointsThanks so much! ... I wonder why he made us do something that wasn't apart of the videos... Confusing! But, thanks again man!
Darrell Brown
Courses Plus Student 1,288 PointsDarrell Brown
Courses Plus Student 1,288 PointsI put c = a * b ... and it was wrong
Clayton Perszyk
Treehouse Moderator 49,047 PointsClayton Perszyk
Treehouse Moderator 49,047 PointsReplace c with the word product and it should pass; your code is valid, but the test for correctness is expecting the word product.