An algorithm is correct with respect to a specification if, on every input that meets the precondition, it stops and its result meets the postcondition.
Computer Science · المسرد
Computer Science · المسرد
An algorithm is correct with respect to a specification if, on every input that meets the precondition, it stops and its result meets the postcondition.