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

C# C# Objects Methods Methods

Mohammed Abdalla
Mohammed Abdalla
7,448 Points

methods return true if distance to fly

methods return true if distance to fly

1 Answer

Steven Parker
Steven Parker
230,995 Points

Have you written any code yet? You didn't show any.

In this challenge, you will create a new method named EatFly. It will expect the distance to the fly to be passed in, and it will return a boolean (true/false) value to indicate if the frog's tongue is long enough to reach.

Give it your best try, and if you have trouble be sure to share your code and be specific about what your issue is.