// 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.
// 2) Submit your dotnetfiddle link in Blackboard.
using System;
public class Program
{
public static void Main()
// Declare local variables
double dblCents = 0.25;
double dblDays;
double dblValue;
// loop days for 1 year
// use simple interest formula I=(Principle*Rate*Time)/100
for (dblDays = 1; dblDays < 365; dblDays++);
dblValue = dblCents * 1.01/100 * dblDays;
}
// Write output value as currency
Console.WriteLine(dblValue.ToString("C2"));