変数
へ
ん
す
う
Meanings
1
Used in mathematics and computing for a quantity that can change or be assigned different values. Contrasts with 定数 (constant).
See also: 定数
In this expression, x and y are variables.
Assign a value to a variable in the program.
Usage patterns
- 〈変数〉に〈値〉を代入するto assign a value to a variable
Assign 10 to the variable x.
- 〈変数〉を宣言するto declare a variable
Declare the variables at the start of the program.
- 〈変数〉を初期化するto initialize a variable
Initialize the variable before the loop.
- 〈変数〉の値the value of a variable
Please check the value of this variable.