have 3 threshold values 90,80,70; four possible grades A,B,C,F; need 3 integers to specify threshold; need a Boolean function with int a, int b, int c as inputs to test input thresholds are valid; first the function should test 100>a>b>c>0 is true or false. is my code too long; does it make sense
first the function should test 100>a>b>c>0 is true or false.
... and then what?
If the condition is true, then what?
If the condition is not true, then what?
A boolean function returns true or false. A boolean function could take three values and return whether they are ordered descendingly and in range ]0..100[. That would be all it does.