Physics, asked by nandita35, 1 year ago

what is the difference between numerical and string variable?​

Answers

Answered by Anonymous
4

Answer:

Numerical variable contains only numbers used for the calculation.

String variable contain letters , numbers and other characters.We cannot perform calculation on string variable.

Explanation:

Mark my answer as brainalist..

Answered by YMissY
2

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.

Similar questions