Computer Program Riddle?!
Question: Computer Program Riddle!?
a = 1 ,a=b
if b = 2 then c = 2
else
c = 3
end if
if c = 3 then a = 4
else
goto sub b
end if
sub b
a =a +1
end sub
so , what is the a !?!?!?!?!?Www@Enter-QA@Com
if b = 2 then c = 2
else
c = 3
end if
if c = 3 then a = 4
else
goto sub b
end if
sub b
a =a +1
end sub
so , what is the a !?!?!?!?!?Www@Enter-QA@Com
Answers:
Ok!.I'll type down by rows like you did!.
a=1=b
c=3
******
c=3 --> a=4
So my answer would be a=4!.
Because You put if b is 2 then,You did not put it like b is 2!.Www@Enter-QA@Com
a=1=b
c=3
******
c=3 --> a=4
So my answer would be a=4!.
Because You put if b is 2 then,You did not put it like b is 2!.Www@Enter-QA@Com
Huh!!!!!!!!!!!!!Www@Enter-QA@Com
a=24 or 26Www@Enter-QA@Com