Interesse simples em JavaScript
function simpleInterest(amount) {
var interest = amount * (6 / 100);
return interest;
}
console.log(simpleInterest(100));
//Output: 60;
Ariful Islam Adil(Code Lover)