public static int years = 0;
public static double Moneyy = 0.0;
public static double interesting = 0.0;
public static void Main()
public static void interestCalc1()
Console.WriteLine("Please enter the value which you want to calculate the interest for");
Moneyy = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Please enter the amount of years you wish to calculate");
years = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Please enter the interest (ex: 34% as 34)");
interesting = Convert.ToDouble(Console.ReadLine());
interesting=interesting/100;
public static void interestCalc2()
Moneyy = Math.Round(Moneyy,2);
for(int i = 0;i<=years;i++)
Storage = Storage*interesting;
Money2=Math.Round(Money2,2);
Console.WriteLine("Year "+i+": £"+Money2);
Console.WriteLine("Progrqm end");