Reading and Writing Programs
There are various programming languages.
But basic items are not so different.
I introduce such items below.
Key-words
Repeat
Repeat same procedure by computers
If
Teach condition and procedure
Variable
Box of value
-
When we write " A = 'Tokyo' ",
it means we put the value 'Tokyo' into the box A.
And if we write " B = A " as the next step,
it means we put the value 'Tokyo' into the box B.
-
When we write " A = A + 1 ",
it means " Use new A which is added 1 to the old A ".
Nesting
Process is written from up to down.
Program is similar to novels.
Different points is that
program has "repeat" and "if" structure.
NEXT Program Languages