... parenthesis semicolon. Line 38, indented 4 times. scanner period next Line left parenthesis right parenthesis semicolon forward slash forward slash discard input so user can try again. Line 39, indented 4 times. System period out period print l n left parenthesis. Line 40, indented 5 times. You must enter integers period Please try again period back slash n right parenthesis semicolon. Line 41, indented 3 times. right brace forward slash forward slash end catch. Line 42, indented 3 times. catch left parenthesis Arithmetic Exception arithmetic Exception right parenthesis. Line 43, indented 3 times. left brace. Line 44, indented 4 times. System period e r r period print f left parenthesis double quote back slash n Exception colon percent sign s back sla
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.