54.7k views
5 votes
How do you create a variable with the numeric value 5?

User Qeadz
by
7.9k points

1 Answer

3 votes

Answer:

They are declared simply by writing a whole number. For example, the statement x = 5 will store the integer number 5 in the variable x.

User Vrijdenker
by
8.2k points

No related questions found