0
* represents multiplication but why is it written like f*, this makes it look like f has an exponent (in module 6 question no 6) it would have made sense if f*I not f*=I that just complicated things for me.
module 6 quiz no 6
3 Respuestas
+ 2
This is shorthand notation and most experienced programmers frequently use it.
f*=i;
is shorthand notation for
f=f*i;
It's also available for other operators like +,-,/,%
e.g.
f/=a+b:
is shorthand for
f=f/(a+b);
0
Well bad for you
That way of multiplication (is used in sum, subtraction, division as well)
Is assignment operators
And you better understand it because is the most common way of doing operations
0
thanx a lot guys, got so much to learn then!