BACKWARD, 5; FORWARD,5.Which of the following statements is true about the above set of instructions?
A
n1=n2 provided n1≥5
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
n1=n2 provided n1>0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
n2=5 provided M>0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
n1>n2 provided M>0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is An1=n2 provided n1≥5 BACKWARD, 5; FORWARD, 5 would effectively mean n1=n2 (in case n1≥5) or n2=5 (in case n1<5). The only option that satisfies this is (a).