Comparing two numbers returns a true or false result


#1


getting started with programming I am stuck in the following line. 

Instruction 03 was compare the strings length to see if it is greater than 10. after writing following two lines I am confused. Please tell me what to do

"I m coding like a champ".length;
"I m coding like a champ".length>10 true;


#2

You simply need the expression "I m coding like a champ".length>10 to compare the string. :slight_smile:


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.