Day 78: Length of a String of 100DaysCodingChallenge

Hello all, 

#day78 

Day78 

Today's task was to Write a Program to Find the Length of a String entered by the user.


I have started the 100 days of coding challenge to improve my programming skills..

Code : 

const str = prompt("Enter a String : ");
console.log(`The Length of ${str} is ${str.length}`);

Output :     

 


Happy Coding:)

Thank you...      

Comments

Popular posts from this blog

Day 55: Pattern using loops of 100DaysCodingChallenge

Day 7: Square or Power Integer Numbers of 100DaysCodingChallenge

Day 45: Pattern using loops of 100DaysCodingChallenge