... equals input period next I n t left parenthesis right parenthesis semicolon forward slash forward slash read first number from user. This line is highlighted. Line 19. Blank. Line 20, indented twice. System period out period print left parenthesis double quote Enter second integer colon double quote right parenthesis semicolon forward slash forward slash prompt. Line 21, indented twice. number 2 equals input period next I n t left parenthesis right parenthesis semicolon forward slash forward slash read second number from user. This line is highlighted. Line 22. Blank. Line 23, indented twice. sum equals number 1 plus number 2 semicolon forward slash forward slash add numbers comma then store total in sum. This line is highlighted. Line 24. Bla
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.