Return to Video

Who Wants To Be A Billionaire - Intro to Java Programming

  • 0:00 - 0:04
    Previously, the condition was to keep running this loop, and keep counting
  • 0:04 - 0:09
    until we hit $1 million. But now, we want to keep counting the years until we
  • 0:09 - 0:14
    hit $1 billion. So we change the loop condition to go up to 1 billion. Now if I
  • 0:14 - 0:19
    run this, I find out that it'll take about 1600 years for my $100 to grow to
  • 0:19 - 0:23
    grow to a billion.
Title:
Who Wants To Be A Billionaire - Intro to Java Programming
Description:

11-06 Who Wants To Be A Billionaire

more » « less
Video Language:
English
Team:
Udacity
Project:
cs046: Intro to Programming
Duration:
0:24

English subtitles

Revisions Compare revisions