|
This stuff has probably already been asked, but I've been out of it this week, so I apologize. I wrote some pseudocode with the invariants in mind, and I have been able to prove that it is correct, using the givens, the invariant, and the conditions of the problem (which was strangely satisfying, by the way). It will be almost trivial to convert this into C (my favorite conventional programming language), so my first question is: do you want just the C code, or also the pseudocode? The second question is related to the first: are we to include a proof of correctness of the pseudocode (or C code)? Assignment #4 seems to say that we should, but I wanted to make sure. Thanks! roni |
One more question by Roni Choudhury, 2001, Oct 20
aha by Roni Choudhury, 2001, Oct 20
Merely compute B by Mike O'Donnell, 2001, Oct 20
No need for pseudocode or proof by Mike O'Donnell, 2001, Oct 20
to: