25.8k views
4 votes
Somebody tell me 2 differences between string variables and numeric variables ​

1 Answer

4 votes

Numeric variables contain only numbers and are suitable for numeric calculations such as addition and multiplication.

String variables may contain letters, numbers and other characters. You can't do calculations on string variables -even if they contain only numbers.

Somebody tell me 2 differences between string variables and numeric variables ​-example-1
User Sebastian Delgado
by
4.3k points