// 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()
//Variables
double value = 0.25;
double total = 0;
double percentRecieved = 0;
//For loop for the 365 days
for (double i = 0; i <= 365; i++){
percentRecieved = 0.01 * value;
total = percentRecieved + value;
//Numbers are converted together
value = total;
//0.01 * 0.25 = 0.0025 //Multiply to find percent amt
//0.0025 + 0.25 = total // Addition of percentage
//total = value //Convert together
}
//Written after only to get the overrall last day total
Console.WriteLine(total);