+ 1
Pls Im new here and I'll like to know; what is syntax error? What are variables? and what are functions?
2 ответов
+ 2
I guess you are only reading the courses:
my suggestion is to follow every lesson by typing the code as it is the only reliable way to learn.
that said
syntax error: you write something that cannot be understood by the compiler/interpreter or whatever entity is running your code.
variables: are named slots of memory used to store values. Their implementation and fundamental utility will be yours by coding.
functions: are named sets of instructions that can be invoked, (they can accept values) and can return a result (they can return values)
+ 1
thank you. I'll do as you said