Skip to content

Instantly share code, notes, and snippets.

@badrij
Created March 24, 2017 06:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save badrij/427f70e400ebcb1e1819d8a23e0e8fa3 to your computer and use it in GitHub Desktop.
Save badrij/427f70e400ebcb1e1819d8a23e0e8fa3 to your computer and use it in GitHub Desktop.
Travis config for AEP 2017
language: java
jdk:
- oraclejdk8
notifications:
email:
- badri.j@thoughtworks.com
- mjayaram@thoughtworks.com
//Simple interest
private double interestFor(Double principal, Double percentageInterest, Double timeInYears) {
return (principal * percentageInterest * timeInYears) / 100;
}
//Compound interest
private double interestFor(Double principal, Double percentageInterest, Double timeInYears) {
return principal * Math.pow(1+(percentageInterest/100.0), timeInYears);
}
@badrij
Copy link
Author

badrij commented Mar 24, 2017

@mjayaram These are the gists for tomorrow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment