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 · Glosario
Computer Science · Glosario
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.