public static void Main()
Console.WriteLine("Welcome to the Invest to become a billionare caclualator!");
Console.Write("How much would you like to invest?: ");
int uInvest = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("ERROR! Please enter that is larger than 0!");
Console.Write("What is your intrest rate? (Must be positive (%)): ");
int uIRate = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("ERROR! Please enter that is larger than 0!");
double Rate = (double)uIRate/100;
double Balance = uInvest;
Console.WriteLine($"{"Time",6} {"Interest",20} {"Balance",25}");
Console.WriteLine(new string('-', 60));
while (Balance <= 1000000000)
double interest = Balance * Rate;
Console.WriteLine($"{Year,6} {interest,20:C2} {Balance,25:C2}");
Console.WriteLine($"It will take you {Year} years to become a billionaire!");