javascript bangla tutorial 27 : how to use while loop in javascript

preview_player
Показать описание
⭐️ Video Contents ⭐️
⌨️ (00:00​​) Intro
⌨️ (00:07) Print 1- 100 using a while loop
⌨️ (04:17) write a program that will print the sum of all the numbers from 1 to 100
⌨️ (05:31) write a program that will print the sum of all the even numbers from 1 to 100 using a while loop
⌨️ (06:08) Task – 6 write a program that will print the sum of all the numbers that are divisible by 3 and 5 from 1-100
⌨️ (10:17​​) Outro

🛑 Web development? checkout following playlists :

🛑 Programming languages? check out following playlists:

🛑 Android development? check out the following playlists:

🛑 HSC Students? Are you worried about ICT? I have created 377 videos for you. check out following playlists-

🛑 CSE Students? checkout following playlists :

🛑 MS Office? Trying to learn MS office to improve your skill? checkout following playlists :

#javascript #anisul_islam #javascript_bangla_tutorial #web_development #bangla_web_development #bangla_javascript #javascript_anisul_islam #anisul_islam_javascript #css_anisul_islam #html #html_anisul_islam #css #js #javascript_projects #projects
Рекомендации по теме
Комментарии
Автор

I learned C++, HTML, CSS and JavaScript from you. Thank you...

siam
Автор

এত কষ্ট করে ভিডিও গুলো বানানোর জন্য ধন্যবাদ। কিছু প্রজেক্ট করে দেখানোর অনুরোধ রইলো। মহান আল্লাহ আপনাকে উত্তম হায়াত দান করুক। আমিন।

bubblehacks
Автор

Apni asolei Manus ke sikhanor jonnoi vedio make koren, , thank u brother

aduriakteraduriakter
Автор

vai apnar shikhanor style ta onk vlo lage ...tnx vai ato kosto kora amadr jonno video bananor jonno

nishadsarker
Автор

কমেন্ট করার মতো ভাষা নেই, , জাস্ট অসাধারণ ক্লাস ♥♥

mahbubhasan
Автор

it's really rare to find such a good instructor like you Vaiya, Thanks for the detailed video. Take love from core of my heart 🖤 Watch Date 11-02-2024

Ayatullah-ali-khameni
Автор

🔴 Task-6

var i = 1;
var sum = 0;
while (i <=100) {
if(i % 3 == 0 && i % 5 == 0){
sum = sum+i;
}
i = i+1;
}
document.write(sum);

mdnasrullah
Автор

আপনার এই সিরিজ টিউটোরিয়াল না থাকলে হয়তো জীবনের আশাই ছেড়ে দিতে হতো। ধন্যবাদ স্যার অনেক অনেক দোয়া ও ভালোবাসা রইলো।

var s=1;
sum = 0;

while( s <=100){
if(s%3 ==0 && s%5 ==0){
sum = sum + s;
}

s++
}
document.write(sum);

sayemahmad
Автор

আপনার বুঝানোর ধরনটা অনেক ভাল।সহজেই বুজতে পারি

marmonilhobi
Автор

ধন্যবাদ ভাইয়া,
আপনার কাছে প্রতিদিন আমি অনেক-অনেক ধরনের প্রোগ্রামিং শিখে থাকি। আপনাকে ধন্যবাদ দেওয়ার মতো ভাষা আমাদের জানা নেই, সেজন্য একটু হলেও আপনাকে কৃতজ্ঞতা জানানোর জন্য আমরা আপনাকে এই কমেন্টগুলো করে থাকি। দোয়া করি যাতে আপনি সামনে আরও ভাল ভাল কনটেন্ট আমাদের জন্য নিয়ে আসতে পারেন ।শেষে আবারও বলতেছি অসংখ্য ধন্যবাদ আপনার মূল্যবান আমাদের মধ্যে দেওয়ার জন্য।

Mohyminulislam
Автор

// write a program that will print the sum of numbers which are divisible by 3 or 5 from 1-100
var i, sum, m, b;
m =parseInt(prompt("Starting num"));
n = parseInt(prompt("Last num"));

sum=0;

i=m;
while(i<=n)
{
if(i%3==0 && i%5==0){
sum=sum+i;
}
i=i+1;
}
document.write("Sum: "+sum+"<br>")
document.write("Thanks sir for your clear explanation ")

abuarefinaroop
Автор

Task-6:

var i = 1;
var sum = 0;
while (i <= 100) {
if (i % 3 == 0 && i % 5 ==0) {
sum = sum + i;
}
i++;
}
document.write(sum);

FoysalAhmed-jsig
Автор

This task has take a lot of time from me but finally I have solved it without watching the solution.
Here my answer if your question...

var sum = 0;
var i = 15;
while (i <= 100){

sum = sum + i;
i = i + 15;

}
document.write(sum);

mrunknown
Автор

ভাইয়া আপনার ভিডিও গুলো থেকে অনেক কিছু শিখতে পারি

mdabdulhamid
Автор

ভাইয়া আমি আপনার সবগুলা বিডিও দেখি, অনেক ভালো লাগে

mdshorifulislam
Автор

Task 6:

var i=1;
var sum=0;

while(i<=100)
{
if(i%3==0 && i%5==0 )
{
document.write(" "+ "+" +i);
sum+=i;
}

i=i+2;

}

document.write(" = "+sum);


document.write("<h2> End</h2> ")

Tanzimhossain
Автор

স্যার এই task টা খুব ভাল ছিল,
স্যার প্রতিটা topic জন্য task/problem দেয়া আছে এমন কিছু site এর link share করলে practice এর জন্য সুবিধা হত

MahmudulHasan-pznt
Автор

এত কষ্ট করে ভিডিও গুলো বানানোর জন্য ধন্যবাদ

TarekMahmud-vccn
Автор

var n=prompt("Enter number:");
var i=1;

var sum=0;

while(i<=n){
sum=sum+i;
i=i+1;
}
document.write(sum);

raihanahmed
Автор

Thanks brother
// to find sum of the numbers that are divisible by 3 and 5 from input number.
var num1=parseFloat(prompt("Enter your first number : "));
var num2=parseFloat(prompt("Enter your Second number : "));
var i=num1;
var sum=0;
while(i<=num2){
if(i%3==0 && i%5==0){
sum+=i;
}
i++;
}
document.write(sum);
// to find of all the numbers that are divisible by 3 and 5 from input number.
var num1=parseFloat(prompt("Enter your first number : "));
var num2=parseFloat(prompt("Enter your Second number : "));
var i=num1;
while(i<=num2){
if(i%3==0 && i%5==0){
document.write(i+" ");
}
i++;
}

MAHashem
welcome to shbcf.ru