Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Simple interest in javascript

function simpleInterest(amount) {
    var interest = amount * (6 / 100);
    return interest;
}
console.log(simpleInterest(100));
//Output: 60;
 
PREVIOUS NEXT
Tagged: #Simple #interest #javascript
ADD COMMENT
Topic
Name
8+9 =