Math, asked by arpanakumariap123, 8 months ago

Write another way of doing the same task.
3. Himanshu, has written the following statement to increase the value of variable A by 10.
A = 5
A = A + 10
Write another statement to do the same task.
What will be its output?​

Answers

Answered by amitnrw
2

Given : Himanshu, has written the following statement to increase the value of variable A by 10.

A = 5

A = A + 10

To Find : Write another statement to do the same task.

What will be its output

Solution:

a += b a = a+b

A = 5

A = A + 10

=> A = 5 + 10

=> A = 15

Output = 15

A = 5

A  +=10

=> A = A + 10

=> A = 5 + 10

=> A = 15

another statement to do the same task.

A = 5

A  +=10

Out put A = 15

Learn More:

Write a a algorithm for a program that adds two digits numbers ...

brainly.in/question/14599411

https://brainly.in/question/25641041

Similar questions