VB Script Help

Hey guys, I’m new to VBScript programing and I need a little help. I’m writing a mortgage calculator which needs the following.

two input boxes 1. how much does the house cost 2. how much will you be paying each month

output box with the following message (I.G)

That will take at least “154 months” or “13” years to pay off at zero interest. So far here is what I have so far



dim a
dim b
dim y
y = a / 12
a = inputbox("How much does the house cost")
b = inputbox("How much will you be paying each month?")
next
msgbox("That will take at least " &  y & ":" "or" & b  "years to pay off at zero interest")

I can’t get this thing to work. please help! Thanks in advanced.