... 68, indented twice. forward slash forward slash if user entered at least one grade incomplete line of code. Line 69, indented twice. if left parenthesis grade Counter exclamation point equals 0 right parenthesis. The words grade counter not equal to 0 is highlighted. Line 70, indented twice. left brace. Line 71, indented 3 times. forward slash forward slash calculate average of all grades entered. Line 72, indented 3 times. average equals left parenthesis double right parenthesis total forward slash grade Counter semicolon. Lines 71 and 72 are highlighted. Line 73. Blank. Line 74, indented 3 times. forward slash forward slash display total and average left parenthesis with two digits of precision right parenthesis. Line 75, indented 3 times.
Get Android How to Program, 3/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.