Question:

Computer Program Riddle?

by  |  earlier

0 LIKES UnLike

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 ?????

 Tags:

   Report

3 ANSWERS


  1. Huh!!!!!!!!!!!!!


  2. 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.

  3. a=24 or 26

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.