Computer scienceAlgorithms and Data StructuresIntro to algorithms and data structuresPseudocode and representation

Relations and conditions in pseudocode

Find the result

Report a typo

What will the program output be when executed?

a = 2
b = 3
c = 4
b = b - 1
a = a + b
// c = c / 2
rezt = (a + b + c) / 2 
c = 0
if rezt < 5 then:
   print(a)
elif rezt > 5 then:
   print(b)
else:
   print(c)

 
Select one option from the list
___

Create a free account to access the full topic