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 

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

1 Expert Approved Answer
Step: 1 Unlock

import javautilScanner public class WadiaCalculation public s... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!