All Questions
1 question
2
votes
3
answers
1k
views
Pseudocode example for counting people in the room
In the week0 lecture David gives the following as an example of pseudocode:
let N=0,
for each person in room,
set N=N+1
He said this gets the value of 0 which proves that the algorithm is true.
...