English subtitles

← Is This Discount the Same - Intro to Java Programming

Get Embed Code
6 Languages

Showing Revision 5 created 05/25/2016 by Udacity Robot.

  1. What if I change the if and the else? Switch them around and make the greater
  2. than into a less than. Will the discounted prices computed by this piece of
  3. code be the same as the prices computed by this piece of code? If we instead
  4. use this piece of code, what will the discounted price for a flight to Las
  5. Vegas be? How about for Chicago and New York?