javascript bangla tutorial 14 : if, else if, else

preview_player
Показать описание
⭐️ Video Contents ⭐️
⌨️ (00:00​​) Intro
⌨️ (00:07) if,else if, else syntax in javascript
⌨️ (09:40) how to check a number is even or odd
⌨️ (11:20) Task-4: letter grade program
⌨️ (13:06) how to check a number is positive, negative or zero
⌨️ (15:14​​) 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
Рекомендации по теме
Комментарии
Автор

স্যার আল্লাহতালা আপনার জ্ঞান কে আরো বাড়িয়ে দেক আমিন। আপনার কাছে আমার একটা অনুরোধ থাকবে প্রত্যেক টিউট্রিয়াল শেষে একটা করে বাড়ির কাজ দিবেন। তাহলে আমরা বেশ উপকৃত হব।

mdkabir-iznh
Автор

স্যার আপনার ভিডিও দেখে আমি অনেক কিছু নতুন জানতে ও শিখতে পেরেছি। আমি আপনার সব HTML, CSS, BOOTSTRAP শেষ করেছি। আপনাকে অনেক অনেক অনেক অনেক অনেক ধন্যবাদ স্যার।

jaakaariahoossin
Автор

video gula khube effective.

If / else if / else akhon panir moto clear alhumdullah.
thank you vaiya...

zobaerahmedzihad
Автор

apnr bujanor doron ta ato sundor bolay bujatay parbo na sir, ,,, onk onk tnx ato sundor koray bujanor jonno

shimuakter
Автор

আপনি সত্যি অনেক ব্রিলিয়ান্ট,
ভগবান আপনাকে সবসময় ভালো রাখুক।
প্রগ্রামিং জগতে আপনি আমাদের মত মানুষদের জন্য ভরসা।❤❤

parthoadhikari
Автор

Alhamdulillah, I have done this task. Thanks a lot, sir...
var marks = parseInt(prompt("Input Your Marks to check your 'Grade'"));

if (marks >= 80)
document.write("A+");

else if (marks <= 79 && marks >= 70)
document.write("A");

else if (marks <= 69 && marks >= 60)
document.write("A-");

else if (marks <= 59 && marks >= 50)
document.write("B");

else if (marks <= 49 && marks >= 40)
document.write("C");

else if (marks <= 39 && marks >= 33)
document.write("D");
else
document.write("F");

farukmia
Автор

var marks= prompt("Enter your marks number: ");

if (marks>100 || marks<0)
document.write('Invalid number');
else if (marks>=80)
document.write('A+');

else if (marks>=70)
document.write('A-');

else if(marks>=60)
document.write('B');

else if(marks>=50)
document.write('B-');

else if(marks>=40)
document.write('B');

else if(marks>=33)
document.write('C');
else
document.write('F');

Sir you are really really awesome. I have learn a lot of your YouTube Channel. I learned C, Discrete Mathematics by watching your tutorial. Thank you so much. God Bless you

ibrahimhossain
Автор

আপনার ভিডিও থেকে অনেক কিছু শিখা যায়, আপনার জন্য শুভকামনা রইল।

arman
Автор

Alhamdulillah ami solve korta parsi ai taksta and as a beginner amar confident onek barsa thank you Anisul sir atto shoj kora bujanur jonno. Allah apnar ai valo kajer uttom protidan divan ai duatai roilo...

My codes are working & here they are:

var marks =parseFloat(prompt('Enter your marks'));

if(marks>=80 && marks<=100)
You have got A+ ");
else if(marks>=70 && marks<=79)
document.write("You have got A ");
else if(marks>=60 && marks<=69)
document.write("You have got A- ");
else if(marks>=50 && marks<=59)
document.write("You have got B ");
else if(marks>=40 && marks<=49)
document.write("You have got C ");
else if(marks>=33 && marks<=39)
document.write("You have got D ");
else
document.write("Sorry! You Are Failed ");

mrunknown
Автор

Assalamu Alaikum sir.This functions were very tough to me.but this 15 minutes of video had just blown my mind.After watching the video, Now this functions are easy to me.Thanks.Jazak Allah khoiron.😍

Task-04:
<script type="text/javascript" charset="utf-8">

var marks = prompt("Enter Your Marks Here : ");

if(marks >= 80)
You got A+");

else if(marks >= 70)
document.write("You got A");

else if(marks >= 60)
document.write("You got A-");

else if(marks >= 50)
document.write("You got B");

else if(marks >= 40)
document.write("You got C");

else if(marks >= 33)
document.write("You got D");

else
document.write("Failed!" + "<br/>" + "But Never Give Up");

</script>
If you found any problem or error in this code then please feel free to reply me.

ryn
Автор

var marks =prompt("Enter your mark:");

if(marks>=80)
console.log("You have got:" + " A+");
else if(marks>=70)
console.log("You have got:" + " A");
else if(marks>=60)
console.log("You have got:" + " A-");
else if(marks>=50)
console.log("You have got:" + "B");
else if(marks>=40)
console.log("You have got:" + " C");
else if(marks>=33)
console.log("You have got:" + " D");
else
console.log("Your result fail" );





love you and thank you sir.

ray_han
Автор

Alhamdulillah.. vai apner video gulo sotti e onek sundor.
Allah apnake nek Hayat dan korun.. Apner video dekhe ami valo vabe shikhi...

MONIRKHAN-tsdj
Автор



if (Marks>=80)
document.write("A+");

else if (Marks>=70)
document.write("A");

else if (Marks>=60)
document.write("A-");

else if (Marks>=50)
document.write("B");

else if (Marks>=40)
document.write("C");

else if (Marks>=33)
document.write("D");

else 
document.write("F");
//

document.write("<br/>");

//

if (Marks % 2 == 0)
    document.write("Even");
else
    document.write("Odd");
//

document.write("<br/>");

//

if (Marks > 0)


else if (Marks < 0)


else
    document.write("Zero");

shoponMsi
Автор

If, else if and else r video onek dekheci but apnar moto ato sohoj kore keu bujay ni sir. Apni CSE r student hoye je amader moto beginer der kotha cinta kore video banan r jonno thanks. Asole jara CSE background r hoy tara aktu kotin kore e bujay bcz tara advance thake. But apni sottie boss.

rupamehreen
Автор

Dear Sir, Thanks a lot
var num=prompt("Enter a number to check your grade :");
if(num>100)
document.write("You input invalid Number");
else if(num>=80)
document.write("You get A+ ");
else if(num>=70)
document.write("You get A ");
else if(num>=60)
document.write("You get A- ");
else if(num>=50)
document.write("You get B ");
else if(num>=40)
document.write("You get C ");
else if(num>=33)
document.write("You get D ");
else
document.write("You are failed ");

swarupchakma
Автор

var num =prompt("Enter your number");

if(num >80 && num <= 100)
console.log("A+");



else if(num > 70 && num <=80)
console.log("A");



else if(num > 60 && num <= 70 )

console.log("A-");



else if(num > 50 && num <=60 )
console.log("B");




else if(num > 40 && num <=33 )
console.log("C");

else
console.log("Fail");

স্যার আপনার কথা মত পরের ভিডিও না দেখে নিজে চেস্টা করেছি ❤️❤️❤️❤️❤️

mohammadmorowan
Автор

Mashaallah, You are not compared, sir

mdshahadathossain
Автор

Panir moto sohoj hoise priyo Sir 😄❤️❤️❤️

mohammadmorowan
Автор

Thanks Sir

// Search Your Grade


var a = prompt(Enter Your Point Here);


if (a > 100 )
document.write("No Grade Found!");

if (a > 79 )
document.write("A+");

else if (a > 69)
document.write("A-");

else if (a > 59)
document.write("A");

else if (a > 49)
document.write("B");

else if (a > 39)
document.write("C");

else if (a > 32)
document.write("D");

else if (a > 0)
document.write("Fail");

md.sohelrana
Автор

var marks = parseInt(prompt("Enter your marks = "));

if(marks>79)
document.write('Grade = A+');


else if(marks>69)
document.write('grade= A');

else if(marks>59)
document.write('Grade = A-');

else if(marks>49)
document.write('Grade = B');

else if (marks>39)
document.write('grade = C');

else if (marks > 33)
document.write('grade = D');


else document.write('Failed')

//mr. Anisul sir, take my heartiest Love & Respact.

msasowrov