Assignment with Times Equals
This commit is contained in:
committed by
SaintPeter
parent
ffe1c1bb57
commit
57192b4769
@ -673,12 +673,12 @@
|
|||||||
"id": "56533eb9ac21ba0edf2244b1",
|
"id": "56533eb9ac21ba0edf2244b1",
|
||||||
"title": "Assignment with Times Equals",
|
"title": "Assignment with Times Equals",
|
||||||
"description": [
|
"description": [
|
||||||
"Yhe <code>*=</code> operator multiplies a variable by a number.",
|
"The <code>*=</code> operator multiplies a variable by a number.",
|
||||||
"<code>myVar = myVar * 5;</code>",
|
"<code>myVar = myVar * 5;</code>",
|
||||||
"Will multiply <code>myVar</code> by <code>5</code>. This can be rewritten as: ",
|
"will multiply <code>myVar</code> by <code>5</code>. This can be rewritten as: ",
|
||||||
"<code>myVar *= 5;</code>",
|
"<code>myVar *= 5;</code>",
|
||||||
"<h4>Instructions</h4>",
|
"<h4>Instructions</h4>",
|
||||||
"Convert the assignements for <code>a</code>, <code>b</code>, and <code>c</code> to use the <code>*=</code> operator."
|
"Convert the assignments for <code>a</code>, <code>b</code>, and <code>c</code> to use the <code>*=</code> operator."
|
||||||
],
|
],
|
||||||
"releasedOn": "11/27/2015",
|
"releasedOn": "11/27/2015",
|
||||||
"tests": [
|
"tests": [
|
||||||
|
Reference in New Issue
Block a user