a+=b is short-hand for a=a+b
(though note that expression a will only be evaluated once)
or in another form
+=
is a compound assignment operator – it adds the RHS operand to the existing value of the LHS operand
We are displaying examples in multiple languages: c, Python, PHP and Java
Example in Python Language
a = a
Example Assignment Operators += in Python
a += 3
print( “Output \nAssignment Operator:” . str(a) )

Example in Java Language
public class frequenTech{
private static int i=3;
public static void frequenTech(){i += 5;
System.out.println(“Output \nAssignment Operators:”+i);}
public static void main(String[] args){
frequenTech();
}}
Example Assignment Operators += in Java

Example in C Language
#include <stdio.h>
Example Assignment Operators += in C Language
int i;
void main(){
i=3;
i+=4
printf(“Output: \nAssignment Operators %d”, i);
}

Example in PHP
$i = 3;
$i +=2;
Example Assignment Operators += in PHP
echo “Output <br /> Assignment Operators:”.$i;
