Created
October 16, 2020 10:53
-
-
Save wellingtonpgp/7db1dc92c1e5ba34802f8cd3bf3f76cb to your computer and use it in GitHub Desktop.
This file contains 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
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