No ?: operators? How uncivilized.
You really should have some variation on !(total && 1) in there someplace. Your instructor should have forbade function calls as well.
You really should have some variation on !(total && 1) in there someplace. Your instructor should have forbade function calls as well.