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 trialMohammad AL-Awadhi
852 PointsThe question not very clear (challenge functions)
i didn't get the question of the challenge of the functions. if you can clarify more, i will be very thankful. regards
2 Answers
Stone Preston
42,016 Pointsall you need to do is implement the function. Dont write main() or the function prototype, dont write anything like that, just implement the function. It should look something like this
returnType functionName (dataType argumentOne, dataType argumentTwo) {
return something;
}
the challenge tells you what the return type, function name, and argument data types need to be as well as what you need to return.
Mohammad AL-Awadhi
852 PointsThanks for the reply Stone. it was clear and it did works.
i hope also in the future if they can add for any Quiz/Challenge in the same page in any corner a step by step answers till the final answer for any Quiz or challenge.
Regards,