Day 79: Concatenation of a String of 100DaysCodingChallenge

Hello all, 

#day79 

Day79 

Today's task was to Write a Program to Concatenate (join) Two Strings entered by user.

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

Code : 

let str1 = prompt("Enter a First String : ");
let str2 = prompt("Enter a Second String : ");
let str3 = str1.concat(str2);
console.log(`The Contenation of two given strings \n${str1} and ${str2} is ${str3}`);

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