what is the difference between ans=8 and ans==8?
Answers
Answered by
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
3
Answer:
in second there are two== but in first one there is only one=
Similar questions