... asterisk y plus z asterisk z semicolon. Continuing from the last slide. Line 114. blank. Line 115, indented 5 times. forward slash forward slash calculate the change in acceleration. Line 116, indented 5 times. acceleration equals current Acceleration asterisk. Line 117, indented 6 times. left parenthesis current Acceleration dash last Acceleration right parenthesis semicolon. Line 118. blank. Line 119, indented 5 times. forward slash forward slash if the acceleration is above a certain threshold. Line 120, indented 5 times. if left parenthesis acceleration greater than sign ACCELERATION underscore THRESHOLD right parenthesis. Line 121, indented 6 times. confirm Erase left parenthesis right parenthesis semicolon. Line 122, indented 4 times. righ
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.