dim years, interestrate, noyears as decimal
dim total, upto, y as decimal
dim onetwo, one, two as double
console.writeline("would you like 1, use years of interest or 2 go up to an amount")
onetwo = console.readline()
console.WriteLine("please enter years of interest on 1st line then interest rate as a decimal (eg. 5% = 0.05) on 2nd line and then amount in the account on 3rd line.")
noyears = console.ReadLine()
interestrate = console.readline()
total = console.readline()
interestrate = interestrate + 1
total = total * interestrate
loop until years = noyears
console.WriteLine("please enter interest rate on 1st line then number you would like to go up to on 2nd line and then amount in the account on 3rd line.")
interestrate = console.Readline()
upto = console.Readline()
total = console.readline()
total = total * interestrate
console.writeline("error")