jeudi 15 octobre 2020

lvalue required as left operand of assignment.?

can you help me with the lvalue error in the following code , i have used ||,& and && in the following code but is shows the same error in the 3rd and fifth line-

'''
if (age<=25 )
        {
            if (exp<2 && edu=1)
                printf("candidate is suitable for entry level job");
            else if (exp>2 && exp<=5 && edu=2)
                printf("go for apperentice job");
        }

'''

Aucun commentaire:

Enregistrer un commentaire