Originally Posted by
smallmj
Makes sense. You know a lot more about this stuff than I. I took exactly one half-credit CS course back in '93 or '94. I still have my copy of Deitel and Deitel's "C How to Program" though.
I could be way off, but certainly in my cases, it was an MCT violation, so I really suspect something like:
Code:
if mct is valid {
price = calculate()
}
print(price)