Pergunta de entrevista da empresa Cognizant

Write a program for taking two string from user and finding which one is lengthy in terms of length ?