Question: Two Ninute Nan # 1 6 : Set and Kill Variables are defined dynamically. When you log in to a system, no variables are defined.

Two Ninute
Nan
#16: Set and Kill
Variables are defined dynamically. When you log in to a system, no variables are defined. The course of your program will define variables via the READ(R) and SET (S) commands, and undefine variables via the KILL (K) command. Notice that commands can be abbrevialed to one letter.
As you know, there are two kinds of variables: string and numeric. A variable may be defined via a READ command, in which case itis autiomalicaly a sting. The other way a variable can be defined is by the SET command which can define it as either string or numeric.
The syntax tor the SET command is:
S argl, arg2.. argx
The statement
5 VAR = EXP
replaces (or defines) the variable VAR with the value of the expression EXP. The data type of varis detemined by the expression.
II execute the following code
B 25x=2,y=x
All sting
What type of variables are x,Y and Z?
x1 y numeric, 2 string
All numeric
Two Ninute Nan # 1 6 : Set and Kill Variables are

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!