Return to Video

Who Wants To Be A Billionaire - Intro to Java Programming

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

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

English subtitles

Revisions Compare revisions