Recent content by Sterling1
-
S
MHB Discrete maths problem - tracing an algorithm
Ah right, so essentially the i variable is counting how many 1's are in the input? I.e. in this algorithm i would equal 4 by the end? And the loop stops when C = 7? If I'm correct in that thinking then I've understood your explanation, and if I'm wrong then clearly I've missed something. Thank...- Sterling1
- Post #3
- Forum: Set Theory, Logic, Probability, Statistics
-
S
MHB Discrete maths problem - tracing an algorithm
Hello, I'm working on a discrete mathematics for computing paper and am stuck on what a symbol is trying to convey. Sorry if this seems like a stupid question (I feel stupid for not being able to work it out myself), I've just started this subject and am still getting used to it. My question...- Sterling1
- Thread
- Algorithm Discrete tracing
- Replies: 3
- Forum: Set Theory, Logic, Probability, Statistics