It 215 Checkpoint

937 Words4 Pages
It 215 Check Point - Essay by Bitikoki (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-48663323-1', 'antiessays.com'); ga('send', 'pageview'); Get Access to AntiEssays.com - Complete Your Registration Now. Search…show more content…
Write the statement(s) necessary to create a public method called calculate interest that accepts account balance and interest rate as arguments.   This method should calculate and return the interest by multiplying the two arguments.   Import java.util.Scanner; Public class calculateinterest { Public static void main( String [] args ) { Double CurrMoney=2500, TotalMoney; int years = 5 TotalMoney=CurrMoney * (1(math.pow((0.05),years)))   3. Write the statement(s) necessary to call the calculate interest method with an account balance of $2800.00 and an interest rate of 7%.   What rule must be adhered to when calling a method with multiple parameters? Double CurrMoney = 2500, TotalMoney, Interest, Interest=CurrentMoney * .07 TotalMoney=CurrMoney + Interest The rule you should... Read Full

More about It 215 Checkpoint

Open Document