/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
String txtNumeroParcelas
= "4";
int numero_de_parcelas
= Integer.
parseInt(txtNumeroParcelas
); float juros
= Float.
parseFloat(txtJuros
); float desconto
= Float.
parseFloat(txtDesconto
); float valor_da_venda
= Float.
parseFloat(txtValorVenda
); float valor_da_parcela = valor_da_venda / numero_de_parcelas;
//System.out.println(valor_da_parcela);
float preco_parcelas = (valor_da_parcela+(valor_da_parcela*juros/100))-(valor_da_parcela*desconto/100);
//mp.setPreco_total(Float.parseFloat(txtTotal.getText()));
System.
out.
println(preco_parcelas
); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVN0cmluZyB0eHROdW1lcm9QYXJjZWxhcyA9ICI0IjsKCQlTdHJpbmcgdHh0SnVyb3MgPSAiMjMiOwoJCVN0cmluZyB0eHREZXNjb250byA9ICIxMCI7CgkJU3RyaW5nIHR4dFZhbG9yVmVuZGEgPSAiNTAiOwoJCQoJCWludCBudW1lcm9fZGVfcGFyY2VsYXMgPSBJbnRlZ2VyLnBhcnNlSW50KHR4dE51bWVyb1BhcmNlbGFzKTsKCQlmbG9hdCBqdXJvcyA9IEZsb2F0LnBhcnNlRmxvYXQodHh0SnVyb3MpOwoJCWZsb2F0IGRlc2NvbnRvID0gRmxvYXQucGF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