0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

変数とは?

0
Last updated at Posted at 2023-06-21

変数とは「箱」のこと。

例えば
レゴブロックを入れる箱=変数
レゴ=数値や言葉、誕生日、日付.....。

という感じです。

コードでは

a=4;
c=12;
answer= a+c;

の中ではaとcが変数になります。
そのa(箱)には4(値)が入ります。
そのc(箱)には12(値)が入ります。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?