9496 Lynk's site for housing knowledge and information for the team.
=
in programming is the assignment operator.
10 = x
, won’t work because you can’t store x
inside of 10
x
and y
are added together with +
and stored in answer
, but you can also
-
*
/
int
variables don’t have decimal values+
,-
,*
, & /
are all called operatorsint x = 10;
int y = 20;
int answer = x + y;