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!
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
Vakishna ThayalanCourses Plus Student 148 Points
Can someone please explain Operators and Expressions?
It's really hard for me to understand the last episode of stage 1 in iOS development.
Derek Medlin6,151 Points
int sum = 2 + 3;
The plus sign ('+') would be the operator and the expression is basically what is used to define what the variable would be.
- 'int' is the data type.
- 'sum' is the variable name.
- '+' would be the operators.
- expression would be 2 + 3 which would give the variable named "sum", the value of 5.