Assume that the value of salary is 50000 and the value of yearOnJob is 2, what message should be dis 1 answer below »

Assume that the value of salary is 50000 and the value of yearOnJob is 2, what message should be displayed in the decisionLabel after the following nested decision structure?

if (salary >= 40000)
{
if (yearOnJob >= 2)
{
decisionLabel.Text = “You qualify for the loan.”;
}
else
{
decisionLabel.Text = “Minimum years at current job not met.”;
}
}
else
{
decisionLabel.Text = “Minimum salary requirement not met.”;
}

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer