Skip to content

Commit 0ea048f

Browse files
problem 21 solved
1 parent e935c19 commit 0ea048f

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

problem21/problem.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
fullName নামে একটা ফাংশন তৈরী কর যেটা তোমার নামের প্রথম অংশ এবং তোমার নামের শেষের অংশ প্যারামিটার হিসেবে নিবে।
2+
আর তোমার নামের দুই অংশ জোড়া দিয়ে আউটপুট হিসেবে তোমার পূর্ন নাম রিটার্ন করে দিবে।
3+
যেমন ধরো, hablu এবং kanto ইনপুট প্যারামিটার হিসেবে দিলে আউটপুট হিসেবে hablu kanto রিটার্ন করবে।
4+
5+
6+
Create a function called 'fullName' that takes the first part of your name and the last part of your name as parameters.
7+
And it will return your full name as the output by concatenating the two parts of your name.
8+
For example, given hablu and kanto as input parameters, hablu will return kanto as output.

problem21/problem21.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/* fullName নামে একটা ফাংশন তৈরী কর যেটা তোমার নামের প্রথম অংশ এবং তোমার নামের শেষের অংশ প্যারামিটার হিসেবে নিবে।
2+
আর তোমার নামের দুই অংশ জোড়া দিয়ে আউটপুট হিসেবে তোমার পূর্ন নাম রিটার্ন করে দিবে।
3+
যেমন ধরো, hablu এবং kanto ইনপুট প্যারামিটার হিসেবে দিলে আউটপুট হিসেবে hablu kanto রিটার্ন করবে।
4+
5+
6+
Create a function called 'fullName' that takes the first part of your name and the last part of your name as parameters.
7+
And it will return your full name as the output by concatenating the two parts of your name.
8+
For example, given hablu and kanto as input parameters, hablu will return kanto as output. */
9+
10+
11+
function fullName(firstName, lastName){
12+
var myName = firstName + " " + lastName;
13+
14+
return myName;
15+
};
16+
17+
18+
console.log(fullName("Shourav","Raj"));

0 commit comments

Comments
 (0)