Computer Science, asked by asifmehmoodsst, 11 months ago

we can perform operations like subtraction,multiplication,or division on a text string ...is it true or false ​

Answers

Answered by sailorking
10

Answer:

We cannot perform the actions of addition, subtraction, multiplication, and division on a text on a string. These operations are made for performing integer data, and there is no such way in which a string can be multiplied.

Explanation:

By making use of the "+" sign it is possible to concatenate two strings, but they are not responsible for the addition of any string.

Answered by smartbrainz
3

We can perform operations like subtraction,multiplication,or division on a text string is false statement.

Explanation:

  • 'Arithmetic operators' take numerical values as their operands (both literals and variables) and return a 'single numerical value'. 'Addition (+)', 'subtraction (-)', 'multiplication (*)', and 'division (/)' are the regular arithmetic operators.
  • The 'programming languages' facilitate various arithmetic operators for all floating-point and integer numbers. If a 'single arithmetic operation' uses an integer and a 'floating-point number' as operands, the result is a floating-point.

To know more

The precedence of arithmetic operators is (from highest to lowest)

https://brainly.in/question/5187634

What is the difference between arithmetic expression and arithmetic operator in Java?

https://brainly.in/question/2080199

Similar questions