which of the following is an assignment statement?
a x=5
b x>5
c 5=x
Answers
Answered by
1
Answer:
(i)x=−5
⇒x+0y+5=0
a=1,b0 and c=5
(ii)y=2
⇒0x+y−2=0
a=0,b=1 and c=−2
(iii)2x=3
⇒2x+0y−3=0
a=2,b=0 and c=−3
(iv)5y=−3
⇒0x+5y+3=0
a=0,b=5 andc=3
Answered by
2
Answer:
c. x=5
Explanation:
An assignment statement is used to assign a value to a variable.
For example, x=5 is used to assign the x variable a value of 5.
Similar questions