Changing Variables
The whole point of variables, of course, is that they can change.
int a = 10;
int b = 15;
int c = a + b;
println (c);
c = a * b;
println (c);
c = a / b;
println (c);
when you set one variable equal to another, it copies the current value.
int a,b;
a=10;
b=a;
println(b);
a=30;
println(b);
b=a;
println(b);