What is the function of PRINT statement?
Answers
Answered by
22
Explanation:
The function of the PRINT statement is to instruct the computer to output something, either on the terminal or the printer. It can be used in several different ways. One way is to print the value of a single variable
hope it will help you
plzz mark it as brainliest
Answered by
8
Explanation:
The function of the PRINT statement is to instruct the computer to output something, either on the terminal or the printer. It can be used in several different ways. One way is to print the value of a single variable.
Example:
Printing the value of a single variable
This statement will cause the computer to print whatever value it has for the variable A. The output will be the value of A only, the variable name A will not be printed. Let’s assume the value of A in the PRINT statement is 896. When the PRINT statement is executed, the output will be:
896
Note that only the value of variable A was printed, not the variable name.
Similar questions