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 trialNorman Lau
Courses Plus Student 69 PointsArrays Challenge
<p>
float maths_constants[ ] = {4, 8};
printf("2x2 %f\n", math_constants[0]);
printf("2x4 %f\n", math_constants[1]);
int primes[] = {2, 4, 8, 16};
printf("the 4 numbers you see %d %d %d %d\n", numbers[0], numbers[1], numbers[2], numbers[3]);
</p>
1 Answer
John Carr
Courses Plus Student 1,984 Pointsdo you have a numbers as an array?