C language
4. The Final Total
by CodeChum Admin
An integer variable, total, is initialized to 10 in the code editor. Ask the user to input an integer and check if it is positive, negative, or zero.
if positive: check if it is even or odd. if it is even, add its square to total, otherwise add...