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

Ruby Ruby Basics (Retired) Ruby Numbers Multiplication and Division

Chris Wood
Chris Wood
9,037 Points

not sure what they are looking for.

I am not sure what it is looking for?

variable.rb
a = 6
b = 2
c = a + b

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

First, they want the variable to be named product. Yours is named "c". Secondly, they want the product which is the result of multiplication... not addition. Try it again with these hints in mind.

Chris Wood
Chris Wood
9,037 Points

Thanks I did have * before I must have miss typed when redoing it. I was pulling my hair out calling it all sorts of things when it should be called product!