# 144Assignment with Times Equals（\*=与一个数相乘并赋值）

最近更新时间：2017年7月28日17:16:06

说明：

```
*= 操作符是让变量与一个数相乘并赋值。

myVar = myVar * 5;

将会把变量 myVar 与数值 5相乘。也可以写作这样的形式:

myVar *= 5;

任务
使用 *=操作符实现同样的效果。


a 应该等于 25
b 应该等于 36
c 应该等于 46
应该对每个变量使用 *= 操作符
不要修改上面的代码
```

原始代码：

```
var a = 5;
var b = 12;
var c = 4.6;

// 请只修改这条注释以下的代码

a = a * 5;
b = 3 * b;
c = c * 10;
```

调试代码：

```
var a = 5;
var b = 12;
var c = 4.6;

// 请只修改这条注释以下的代码

a *= 5;
b *= 3;
c *= 10;
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://iexam.gitbook.io/fcc/ji-chu/assignment-with-times-equals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
