0

I don't know what the assignment operators lesson means. can anybody help me?

4th Aug 2016, 3:13 PM
Giovanni
2 Answers
+ 5
Assignment op is this : "=" The '=' asigns values to the variables. ex: int g; g = 55; In the lines above I've declared an integer variable and then I assigned 55 to it, with the = operator. ps: The == , < and > are the comparison operators not the assignment op.
4th Aug 2016, 8:43 PM
Alireza M
Alireza M - avatar
- 2
you mean those " <, >, <=, >=, =="? its a way to compare 2 values. for exemple: 3>2 = false if you mean "+=, -= etc.." its a "shortcut". a+=b wil work the same as a=a+b and the same with "-"
4th Aug 2016, 4:12 PM
Or Batson
Hot today
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes