Question: Write a java method that computes and returns the amount of your wadia'a after T number of years. The Wadia'a amount will grew by
Write a java method that computes and returns the amount of your wadia'a after T number of years. The Wadia'a amount will grew by 1% percentage each year. The method receives two parameters, the initial amount X (double) and the number of years U (int) then it should return the total amount of Wadia'a. run: Insert yout Wadia'a initial amount: 10000 AED Insert the number of years: 2 Your Wadia'a amount after 2 number of years =10201.0 AED BUILD SUCCESSFUL (total time: 1 second)
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
import javautilScanner public class WadiaCalculation public s... View full answer
Get step-by-step solutions from verified subject matter experts
