Write a Short note on :
a. CLS
b. REM
c. LET
{Don't Spam}
Answers
Answer:
REM is a statement placed in system files such as the autoexec. bat to skip lines from loading. A remark is created by placing "REM" (followed by a space) in front of a line.
Explanation:
this is the answer
a. CLS. This command clears the monitor screen. It usually appears as one of the first lines of a program, so that when the program runs it begins with a blank space. Using system("cls") - For TurboC Compiler
system() is a library function of stdlib. h header file. This function is used to run system/ command prompt commands and here cls is a command to clear the output screen.
b. Rem. REM stands for REMark. You can use the REM statement to put comments in you program that tell anyone listing the program what is happening at a specific point.Rem (abbreviation of remark) is a command (internal) found inside the Windows Command Processor Command Prompt, that allows for inclusion of comments inside batch programs. Comments are supported by most Programming languages usually via special syntax that is associated to them.
c. let. LET is an assignment statement. It is used to assign the value to a variable. LET is an optional statement i.e. without using LET statement one can assign the value to a variable. The data type must match with the variable type otherwise type mismatch error will occur.LET statement is used to assign a value or a set of values to a variable or a record. ... When a variable is declared with the help of the DEFINE statement, it has no value, but the memory space is allocated to it.