Is Using Boolean Arithmetic Like This a Good Programming Practice?
I wrote a line that chooses between different values based on whether `IorC` is equal to `"i"`, `"c"`, or `"s"`, using Boolean results as arithmetic or multiplication factors:…
I wrote a line that chooses between different values based on whether `IorC` is equal to `"i"`, `"c"`, or `"s"`, using Boolean results as arithmetic or multiplication factors:…