Return to Video

06b s Solving Math Problems

  • 0:01 - 0:02
    And here's the solution.
  • 0:02 - 0:07
    We call the display method, and then in
    parentheses, we put the math expression.
  • 0:07 - 0:11
    We want 77 people, times 2 for
    the total number of coffees for
  • 0:11 - 0:15
    the 77 Android developers, and then
    we want to add 1 for that straggler.
  • 0:15 - 0:18
    We also remember the ; at
    the very end of the line.
  • 0:18 - 0:20
    Now I can enter this
    into Android Studio.
  • 0:20 - 0:24
    I'm going to highlight what was all
    ready in parentheses and delete that,
  • 0:24 - 0:27
    and then I'm going to type 77 * 2 + 1.
  • 0:27 - 0:28
    Then, I'll run the app.
  • 0:30 - 0:32
    When the app launches,
    then I just hit the Order button and
  • 0:32 - 0:35
    then it automatically tells me how
    many cups of coffee I need for
  • 0:35 - 0:36
    all those developers.
タイトル:
06b s Solving Math Problems
概説:

more » « less
Video Language:
English
Team:
Udacity
プロジェクト:
UD837 - Android for Beginners
Duration:
0:38

English subtitles

改訂 Compare revisions