Computer Science, asked by ramzimohd252, 10 months ago

Rewrite the expression a=a+10 using arithmetic assignment operator

Answers

Answered by deekshaDixit5
3

Answer:

a+=10

...............

Answered by Qwdubai
0

a + = 10

  • Arithmetic assignment operators are also known as compound assignment operators.
  • The assignment operator = sets a variable's, a property's, or an indexer element's value to the value of its right-hand operand.
  • Arithmetic assignment operators are a short-hand form of arithmetic operators.
  • Examples: +=, -=, *=, /=

In the given expression a = a + 10, a is being incremented by 10.

So, we can write it as a + = 10.

#SPJ3

Similar questions