Created
May 29, 2014 19:49
-
-
Save TrevorS/0f2fe31a2a825e027fe9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestCurrency { | |
public static void main(String[] args) { | |
double myMoney = 1.03; | |
double moneyOwed = .42; | |
System.out.println("Money left over: " + (myMoney - moneyOwed)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment