ype: : Muiti
ultiple
What will the output when following programs is executed?
set integer y=2
set integer z=4
diaplay((y or z)and(z ory)
Answers
Answered by
1
Answer:
36
Step-by-step explanation:
and is the terminology for muliplying (x)
or is the terminology for adding (+)
y or z= y+z
= 2+4
=6
z+y = y+z
(y or z) and (z or y) = (6)x(6)
= 36
Answered by
3
Answer:
6
Step-by-step explanation:
here y=2=010
z=4=100
y or z=010+100=>010
100
--------
110
same for z or y=>110
and of these two 110 and 110 gives 110 only
Similar questions
Math,
26 days ago
Hindi,
26 days ago
Computer Science,
26 days ago
Social Sciences,
1 month ago
Math,
1 month ago
Physics,
9 months ago
Math,
9 months ago