Computer Science, asked by mayaakul169, 3 months ago


a. ()

To display any text message or value, with PRINT statement, it should be given in
b.""
c. ()
innlound when INPUT statement is executed?
a.''​

Answers

Answered by arpithmenon2018
1

The PRINT statement allows several quantities, including quoted strings, separated by commas (,) or semicolons (;). If by commas, BASIC moves to the start of the next zone. Zones are 15 characters in width. If by semicolons, BASIC does not move but starts the next item at the next space.

Numerical values are printed with either a leading space or a minus sign, and with a trailing space. Thus, numerical values in a PRINT statement with semicolons as separators will have at least one space between values. Furthermore, numeric values will always produce a number of characters that is a multiple of three. Thus,

PRINT 12; 34; 56

will produce

12 34 56

While there is no string data type, quoted strings are allowed in PRINT statements. If a quoted string and a numeric value are separated by a semicolon in the PRINT statement, the semicolon may be omitted.

If the material on the printed line exceeds 75 characters, an end-of-line is automatically introduced. We sometimes say that the MARGIN is 75.

Defined Functions

The user may define up to 26 new functions, giving them names from FNA to FNZ. Each such function is introduced by the DEF keyword. There must be exactly be one argument. The variable name used as an argument is distinct from the variable with the same name in the rest of the program. The function definition must be a single line with the following form:

DEF FNX(X) = <expression>

The expression should contain an X unless the function value does not depend upon an argument; the expression may contain other variables from the program.

DEF statement may appear anywhere in the program before the END statement.

Answered by thunubasingha
0

which symbol to display any takes message or value it print statement

Similar questions