Create a function assignmentOperator that uses += and *= on a number and logs the result after each operation.

Output: