Computer Science, asked by shivalingappaathani6, 4 months ago

what is the difference between ans=8 and ans==8?​

Answers

Answered by sunnygkzruhl
3

Answer:

ans = 8 is an assignment that puts 8 into ans while ans == 8 is a relational operation that checks if ans is equal to 8.

Answered by antonnelson
3

Answer:

in second there are two== but in first one there is only one=

Similar questions