Question: Consider the following code that accepts two positive integer numbers as inputs. 1. read x, y 2. Result 1= 1 3. Result 2 = 1



![]*x 7. counter = counter + 1 8. Until (counter > y)](https://s3.amazonaws.com/si.experts.images/answers/2024/06/667ce5466810e_190667ce5464dc95.jpg)
Consider the following code that accepts two positive integer numbers as inputs. 1. read x, y 2. Result 1= 1 3. Result 2 = 1 4. counter = 1 5. repeat 6. result 1= result ]*x 7. counter = counter + 1 8. Until (counter > y) 9. counter = x 10. Do while (counter > 0) 11. result 2= result 2*y 12. counter = counter - 1 13. End Do 14. If (result ] > result 2) 15. then print "xy is greater than y"x" 16. else print "yox is greater than x^y" 17. End if 18. EndAssume that the program graph for the above program includes every statement, including the dummyr statements such as 'End If' and 'End', as separate nudes. How many branches are in the program graph ? all 0 b.22 O c. 23 O d.None ofthe above 0 e. None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
