DXC Technology interview question

write a code using comparison operator? how to write code in which it will be understandable for the other fellow workers?

Interview Answer

Anonymous

5 Nov 2020

i showed him whether the given number is prime or not using sieve of erotheness (but its was more than the what interviewer asked) like i said use OOP concepts so that code will reusable and shorter also, and by wrting comments for each line someone can understand our code more easily