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

Pseudocode basics

Arithmetics

Report a typo

What is the value of the result variable in the given pseudocode?

a = 5
b = 10
result = (a + b) / 2

Note that the answer is a real number.

Enter a number
___

Create a free account to access the full topic