edwardglass57
Programmer
I have attempted several variations of this, none of which seem to help. I have narrowed this down to being the central problem at hand. Do i just have something out of place?
Optionally, could I not do else if and somehow use this as a Nested If?
Any help appreciated,
Thank You
Code:
if (monthly_pay>=1000)
{bank_account="Okay";}
else if ((monthly_pay>=700)&&(monthly_pay<=999))
{bank_account="Still Okay";}
else if ((monthly_pay>=500)&&(monthly_pay<=699))
{bank_account="Start to worry";}
else if ((monthly_pay>=300)&&(monthly_pay<=499))
{bank_account="Panic";}
else if (monthly_pay<=299)
{bank_account="Chapter 9";}
else
{document.write("Marry Up")}
}
Optionally, could I not do else if and somehow use this as a Nested If?
Any help appreciated,
Thank You