Symbolic Constants

  Computer Guru       September 24, 2019      801

Symbolic Constants

Symbolic Constants are fixed values (data) that are used in program and they do not change during program execution. Constants are predefined values that do not change during program execution.

Example


CLS 

REM to calculate area of circle 

INPUT "Enter radius in centimeter"; R

CONST PI = 22/7

LET AREA=PI*R^2

PRINT "area of circle = "; AREA; "sq. cm"

End 

1 thought on “Symbolic Constants”

  1. You made some really good points there. I checked on the net for more info about the issue and found most individuals will go along with your views on this website. Daloris Tremain Noella

Leave a Reply

Your email address will not be published. Required fields are marked *