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
);
}
}
cHVibGljIGNsYXNzIE1haW4gewogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgewogICAgICAgIGRvdWJsZSBpbnZlc3RpbWVudG8gPSA1MDAwLjAwOwogICAgICAgIGRvdWJsZSBqdXJvcyA9IDAuMDE7CgogICAgICAgIGRvdWJsZSB2YWxvckZpbmFsID0gaW52ZXN0aW1lbnRvICogTWF0aC5wb3coMSArIGp1cm9zLCAxMik7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHZhbG9yRmluYWwpOwoKICAgIH0KfQ==