You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The analyzer produces the comment Consider converting the if-statement(s) and/or ternary expressions into a single expression using the && and || operators. for the solution return (year % 100 == 0) ? (year % 400 == 0) : (year % 4 == 0);.
The solution seems valid (so the analyzer shouldn't produce the comment).
The text was updated successfully, but these errors were encountered:
The analyzer produces the comment Consider converting the if-statement(s) and/or ternary expressions into a single expression using the && and || operators. for the solution
return (year % 100 == 0) ? (year % 400 == 0) : (year % 4 == 0);
.The solution seems valid (so the analyzer shouldn't produce the comment).
The text was updated successfully, but these errors were encountered: