Intermediate #2-1

CSharp · Console

/Program.cs

// Directions: Intermediate #2-1
// 1) Add code to the Main method:
// 		a) Create a loop that will start with 25 cents and increase in value 1%.
//		b) The sum of the value of the account should accumulate.  (.25 for day 1, .51 for day 2) 
//		c) Output the accumuluating value until the new sum value is greater than 100 and the number of days.
// 2) Submit your dotnetfiddle link in Blackboard.

/* Part of my output
Day: 1: 0.2500: Sum 0.2500
Day: 2: 0.2525: Sum 0.5025
...
Day: 160: 1.2163: Sum 97.8457
Day: 161: 1.2285: Sum 99.0741
Value after 162 days: ¤100.31
*/

using System;
					
public class Program
{
	public static void Main()
	{
		
	}
}
;