Question #49234

How to develop a program to Calculate the maturity amount after a period of deposit. The bank pays 4% interest per year for any deposits made. using c#.
1

Expert's answer

2014-11-25T00:47:51-0500

How to develop a program to Calculate the maturity amount after a period of deposit. The bank pays 4% interest per year for any deposits made. using c#.

Answer


using System;
namespace a {
class Program {
// Calculate amount from deposit percent 4%
static double CalculateAmount(double amount) {
return amount * 1.04;
}
static void Main(string[] args) {
// example of work
Console.WriteLine(CalculateAmount(12000));
Console.WriteLine(CalculateAmount(4500));
Console.ReadKey();
}
}
}


http://www.AssignmentExpert.com/


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS