Pregunta de entrevista de Qualcomm

write assertions to verify the condition.