// Directions: Intermediate #1-3
// 1) Add code to the Main method:
// a) Create a loop that will start with 25 cents and increase in value 1%.
// b) Output the value after 365 days.
// c) The answer should by $9.45
// 2) Submit your dotnetfiddle link in Blackboard.
using System;
public class Program
{
public static void Main()
// a) Start with 25 cents
decimal value = 0.25m;
// b) Create a loop that increases the value by 1% each day for 365 days
for (int i = 0; i < 365; i++)
value += value * 0.01m; // Increase by 1%
}
// c) Output the final value after 365 days
Console.WriteLine($"The value after 365 days is: {value:C}");