I want to make a program that "Loan will be accepted if Earns over 30k & on the job for more than 2 years or been on the job for more than 5 years. and age between 30 - 50.
But doesn't working
If sngSalary > 30000 Then
If sngAge < 50 Then
If sngYear > 5 Then
lblMessage.Text = "Application qualifies"
Else
lblMessage.Text = "Application does not qualifies"
End If
Else
If sngYear >= 2 Then
lblMessage.Text = "Application qualifies"
Else
lblMessage.Text = "Application does not qualifies"
End If
End If
Else
If sngAge > 30 Then
If sngYear > 5 Then
lblMessage.Text = "Application qualifies"
Else
lblMessage.Text = "Application does not qualifies"
End If
Else
If sngYear >= 2 Then
lblMessage.Text = "Application qualifies"
Else
lblMessage.Text = "Application does not qualifies"
End If
End If
End If
Just code it up almost exactly like you said in your description: