Write an if statement to do the following. (Assume the variables have been declared. You do not need to declare the variables. Simply construct an if statement.) Hint: You will need to use comparison operators and a logical operator.

If both variables a and b are greater than 0, then increment the value of the variable c by 1.

if (a > 0 & & b > 0)

Computer Science & Information Technology

You might also like to view...

________ is the error message that displays when an individual enters a value prohibited by the validation rule

A) index B) look up list C) expression builder D) validation text

Computer Science & Information Technology

If content is unreadable, in what category does the Accessibility Checker place this issue?

A) Tip B) Suggestion C) Error D) Warning

Computer Science & Information Technology