This is a very simplistic solution to your problem.
<% Dim intHrlyRate, intWeeklyRate, intMonthlyRate, intAnnualRate intHrlyRate = 10 '// $ rate per hour intWeeklyRate = intHrlyRate * 40 '// hourly rate multiplied by hours per week intMonthlyRate = 4.33 * intWeeklyRate '// 52 weeks divided by 12 months multiplied by the weekly rate intAnnunalRAte = 52 * intWeeklyRate '// 52 weeks multiplied by the weekly rate Response.write "Hourly Rate = $" & intHrlyRate & "<br>" Response.write "Weekly Rate = $" & intWeeklyRate & "<br>" Response.write "Monthly Rate = $" & intMonthlyRate & "<br>" Response.write "Annual Rate = $" & intAnnunalRate & "<br>" %>
I found out that my assignment really needed this for the monthrate to come out to 1733. I was told this was needed to do that
intMonthlyRate = CInt(intAnnualRate / 12) '// Annual Rate divided by 12 months the cInt means to divide the annual rate by 12. I missed that other than that he said this was fine.
Thought I would add this for FYI
Thanks