See for the problem here: Click here
Correct Answer:
\(\verb|for i:1 thru n do|\)
\(\verb|if bo(z[i],e)#z[i] or bo(e,z[i])#z[i] then|\)
\(\verb|flag:1 $|\)
\(\verb|if flag=1 then|\)
\(\verb|Print(e,”is not unity element”)|\)
\(\verb|else print(e,”is the unity element “)$|\)
The above answer was given by Chaya M S (V Semester PCM, Sarada Vilas College) and ( Gagan Dev (V Semester PCM, Sarada Vilas College) in the comment section of the problem.
No comments:
Post a Comment