Computer Science, asked by sapnach174, 3 months ago

Which is the correct numeric expression in qbasic A='5*5", A1$=52, A2=21 .explain the answer pls​

Answers

Answered by harneetmakkad27
8

Answer:

A2=21 correct answer.

Explanation:

Rules for naming a variable

a. Variable names can have maximum of 40 characters.

b. Variable names can have alphabets, numbers and decimal point.

c. A Variable name must begin with a letter.

d. A Variable name cannot begin with fn or FN alphabets. For example, fnames$, fnumetc.

e. Variable names cannot be reserved words.

f. Variable names may be ended with type declaration characters like $, %, &, !, and #.

Naam$, Address$, Bookname$, GameName$, etc., are examples of Sting Varibales.

Salary!, Age%, Mark, Number1, Number2, FirstNum, RollNumber, etc., are examples of Numeric Variables.

Attachments:
Similar questions