Computer Science, asked by generic25102008, 2 months ago

WHAT IS THE DIFFERENCE BETWEEN X=20 AND X==20

Answers

Answered by Anonymous
1

Answer:

{ \huge\fbox \pink {♥}\fbox \blue {A} \fbox\purple {N} \fbox \green{S} \fbox \red {W} \fbox \orange {E} \fbox{R} \fbox \gray{♥}}

Explanation:

Given that

x+y = 220

x-y =20

Adding both the equations

2x = 240

x =120

Substitute x in equation 2

120-y = 20

y = 120 - 20

y = 100

x = 120, y =100

Answered by atrs7391
3

X=20 means you're initializing X's value as 20, that means you're telling the computer that X means 20...

X==20 is a Boolean statement which will check whether X is equal to 20 or not. If yes then it will return value True else False... that means you're telling the computer to check if X equals to 20 or not....

Similar questions