## BASIC PROGRAMMING

BASIC has a number of built in functions that greatly extend its capability. These functions perform such varied task as taking the square root of a number, counting the number of characters in a string, and capitalizing letters. Functions associate with one or more values, called input, a single value called output. NUMERIC FUNCTIONS: SQR, INT SQR calculates the square root of a number. The function INT finds the greatest integer less than or equal to a number. Therefore INT discards the decimal parts of a number. Example: SQR(9) is 3 INT(2.7) is 2 The terms in the parentheses can be numbers (as above), variables, or expressions. ABS FUNCTION Its full form is absolute. It is used to find the absolute value of a number. Absolute value of a number means the number without a sign. Examples: ABS(+3.4) = 3.4 ABS(- 3.4) = 3.4 RND FUNCTION RND… Read More »BASIC PROGRAMMING