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
Post a Comment