Skip to content

Commit df99c0e

Browse files
problem 16 solved
1 parent 38d733e commit df99c0e

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

problem16/problem.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
তুমি এতদিন পর্যন্ত যে যে মডেলের মোবাইল ফোন ইউজ করেছো সেগুলার নাম দিয়ে একটা array বানাও। তারপর একটা while লুপ দিয়ে সেই array এর উপাদান গুলা একটা একটা করে আউটপুট হিসেবে দেখাও
3+
4+
5+
Create an array with the names of all the mobile phone models you have used so far. Then show the elements of that array as output one by one with a while loop

problem16/problem16.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Create an array with the names of all the mobile phone models you have used so far. Then show the elements of that array as output one by one with a while loop */
2+
3+
4+
var myPhones = ["Maximus", "Nokia-120", "Nokia-expres music", "Nokia-N70", "Symphany-w21", "Sumsung-Dose", "HUAWI-Y5II", "Samsung-j5", "Realme-C3"];
5+
6+
var i = 0;
7+
8+
while( i < myPhones.length){
9+
var phone = myPhones[i];
10+
console.log(phone);
11+
i++;
12+
}

0 commit comments

Comments
 (0)