Skip to content

Instantly share code, notes, and snippets.

@wellingtonpgp
Created October 16, 2020 10:53
Show Gist options
  • Save wellingtonpgp/7db1dc92c1e5ba34802f8cd3bf3f76cb to your computer and use it in GitHub Desktop.
Save wellingtonpgp/7db1dc92c1e5ba34802f8cd3bf3f76cb to your computer and use it in GitHub Desktop.
public class Main {
public static void main(String[] args) {
double investimento = 5000.00;
double juros = 0.01;
double valorFinal = investimento * Math.pow(1 + juros, 12);
System.out.println(valorFinal);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment