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

iOS Objective-C Basics (Retired) Fundamentals of C Variables

Create a float Variable

i need help on creating a float variable and show me the steps towards this.

1 Answer

It might be helpful for you to review the video.

To create a variable you would first specify its type, then the variable name, and optionally you can assign it an initial value.

See what you can come up with for task 1 and post your code here if you're having trouble.