Skip to content

Instantly share code, notes, and snippets.

@TrevorS
Created May 29, 2014 19:49
Show Gist options
  • Save TrevorS/0f2fe31a2a825e027fe9 to your computer and use it in GitHub Desktop.
Save TrevorS/0f2fe31a2a825e027fe9 to your computer and use it in GitHub Desktop.
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