You learned that there are many different programming languages, just like there are many different spoken languages throughout the world. And programming languages have certain syntax, or rules, they have to follow in order for the computer to understand the commands. Give one example of syntax for one of the programming languages listed in the unit. Then give two examples of syntax from a language you know. Describe what will happen if you do not follow these rules in your language.
Please help i will mark you as brainliest and give you alot of points!!!!!!!

Respuesta :

Answer:

In python, when we declare a float or an integer, we declare like below:

a=2 for int

b=2.0 for float

And when we do this operation in c++, we write

int a;

float b;

And when we write this in Pascal, we use:

a: integer

b: float

and we assign value like:

a:=2

b:=2.0

And you should know that if you will not follow the syntax, then the compiler or the interpreter will throw syntax error, and you will not be able to run your program. The syntax is very important.

Explanation:

ACCESS MORE
ACCESS MORE
ACCESS MORE
ACCESS MORE