File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ একটা ফাংশন লিখবা যেটাকে তুমি কোন সংখ্যাকে ইনপুট হিসেবে দিলে সে সেই সংখ্যার square করে সেই square কে রিটার্ন করবে।
2
+
3
+ অর্থাৎ তুমি ইনপুট হিসেবে 5 দিলে সেটাতে স্কয়ারে হিসেবে 25 আউটপুট হিসেবে পাবে।
4
+
5
+
6
+ Write a function that if you give a number as input it will square that number and return that square.
7
+
8
+ That is, if you give 5 as input, it will get 25 as output squared.
Original file line number Diff line number Diff line change
1
+ /*
2
+
3
+ একটা ফাংশন লিখবা যেটাকে তুমি কোন সংখ্যাকে ইনপুট হিসেবে দিলে সে সেই সংখ্যার square করে সেই square কে রিটার্ন করবে।
4
+
5
+ অর্থাৎ তুমি ইনপুট হিসেবে 5 দিলে সেটাতে স্কয়ারে হিসেবে 25 আউটপুট হিসেবে পাবে।
6
+
7
+
8
+ Write a function that if you give a number as input it will square that number and return that square.
9
+ That is, if you give 5 as input, it will get 25 as output squared.
10
+
11
+ */
12
+
13
+
14
+ function squareTheNum ( num ) {
15
+
16
+ return num * num ;
17
+ }
18
+
19
+ console . log ( squareTheNum ( 5 ) ) ;
You can’t perform that action at this time.
0 commit comments