javascript bangla tutorial 29 : one dimensional array | Task 8

preview_player
Показать описание
⭐️ Video Contents ⭐️
⌨️ (00:00​​) Intro
⌨️ (00:04) a one-dimensional array
⌨️ (03:26) Task 8 - find the maximum number from an array
⌨️ (11:33) 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 #es6_anisul_islam #html #html_anisul_islam #css #js #javascript_projects #projects #js_es6 #javascript_es6
Рекомендации по теме
Комментарии
Автор

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

Mohyminulislam
Автор

স্যার আপনার মধ্যে বোঝানোর এক অসাধারণ ক্ষমতা আছে! আপনি খুব অল্প কথায় অল্প সময়ের মধ্যে অনেক কিছু বুঝিয়ে দিতে পারেন। আল্লাহ আপনার মেধা আরো বাড়িয়ে দিক এবং আমাদের জন্য আরো অনেক অনেক কন্টেন্ট তৈরি করার তৌফিক দান করুক ❤❤

mahbubhasan
Автор

Alhamdulillah, I will know one more thing about JavaScript😍😍

mdshahadathossain
Автор

Task-8:


function highestScore (score) {

var index=score[0];

var leng= score.length;

for (var i=1; i<leng ;i++)
{
if ( index < score[i] ){
index=score[i];
}

}

return index ;

}


var score=[10, 30, 40, 15, 20, 43, 100, 90, 60, 70];

var highNumber= highestScore(score);

console.log(highNumber);

Tanzimhossain
Автор

let scores = [25, 36, 65, 995, 980, 910];
let Low = highestScore(scores);


function highestScore(scores) {
let min = scores[0];
for (let i = 1; i < scores.length; i++) {
if (min > scores[i]) {
min = scores[i];
}
}

return min;
}

console.log(Low)

shaonkumar
Автор

Task 8: Creating a Function that finds the greatest number.

var take= [];
var n;

// Step 1: Creating the function
function biggestNum() {
// Step 2: Taking Input
n = parseInt(prompt("How Many numbers do you wanna input? "));
if(n>10) {
n = parseInt(prompt("Can't take more than 10 numbers! Try again. How Many numbers do you wanna input now? "));
}
for(i=0; i<n; i++){
take[i] =parseInt(prompt("Input number "+ parseInt(i+1) ));
}

// Step 3: Checking the greatest number
var boro = take[0];

for(i=0; i<n-1; i= i+1){
if (boro >take[i+1]) {
boro = boro;

} else {
boro = take[i+1];
}
}

// Step 4: Showing the greatest Number
document.write("<br></br> The biggest number is: " +boro);
}

// Step 5: Calling the function
biggestNum();

Arabi_Quest
Автор

Allah blesses you and increase your knowledge.

mehadi-sardar
Автор

Task-8

function higestScores(array) {

var max = array[0]
for (let i = 1 ; i<array.length; i++){
if (max<array[i]) {
max = array[i];
}
}
return max
}
let scores = [10, 14, 12, 12, 15, 21];

let result = higestScores(scores);
console.log(result)

khshakib
Автор

thanks a lot brother for such a helping tutorial

rashidulislam
Автор

Task 8

function highestScore(scrint){
var mack = scrint[0];
for(i=1; i<scrint.length; i=i+1){
if(mack < scrint[i]){
mack = scrint[i];
}
}
return mack;
}

var rad = [12, 33, 68, 99, 3];
var result = highestScore(rad);

console.log(result);

shadat-hossain
Автор

Thank you sir..

function highestScores(scores){
var max = scores[0];
for(var x = 1; x<scores.length; x++){
if(max < scores[x]){
max = scores[x]
}
}
return max;
}
var scores = [20, 30, 40, 80, 1];
var maxScore = highestScores(scores);
console.log(maxScore);

shekhabusufianshoron
Автор

var scores = [266, 35, 150, 181, 490, 407, 155, 253, 445, 74]

var highestScores = (score)=>score.sort((a, b)=>a-b)[score.length-1]


ishaqrabbu
Автор

Great Sir I have done Minimun function:
let scores=[20, 30, 50, 60, 90]
function minimumScores(){
var min=scores[0]
for( var x=1; x<scores.length; x++){
if(min>scores[x]){
min=scores[x]
}
}
return min;
}
var minScores=minimumScores();
console.log(minScores);

rezwanulhaque
Автор

Task 8: Creating a Function that finds the greatest number.

var resultAra=[90, 98, 76, 64, 45];

(function resultFun(resultAra){
var sortNum=resultAra.sort(function(a, b){
return b-a;
})
document.write(sortNum[0])
})(resultAra);

najibullah
Автор

আমি ৭০% পযর্ন্ত একা একা করছিলাম পরে আর পারিনি।তাই আপনার টা দেখে করলাম। কিন্তু আমি বুঝতে পারছিনা আমার কি উন্নতি হচ্ছে কিনা কেননা আমি কেন সমপূর্ন করতে পারলাম না।
অবশেষে বলতে চাই আপনাকে ধন্যবাদ দেওয়ার মতো ভাষা আমার জানা নেই।তবে আপনি যা করতেছেন তা আপনাকে এই পৃথিবীতে সারাজীবন অমর করে রাখবে।আপনার জন্য এবং আপনার পরিবার সবার জন্য অনেক দোয়া রইলো।এবং নামাজ পরেও আপনাদের জন্য দোয়া করবো ইনশাআল্লাহ।

mosarofhossen
Автор

Mashallaah, just amazing your technique, Sir . We eagerly wait for your videos that when you will upload your videos for us. A lot of love and

s.m.siddikurrahman
Автор

task-8 solution:
function highestScore(score){
var highest = score[0];
for(var i = 1; i < score.length; i++){
if (highest < score[i]) {
highest = score[i];
}
}
return highest;
}

var result = highestScore([20, 30, 44, 3, 155, 0, 56]);
console.log(result);

abidurrahman
Автор

আমি একদম নতুন। আপনার ভিডিও দিয়ে জাভাস্ক্রিপ্ট শিখা শুরু করলাম। খুব সহজেই করতে পারছি আপনার দেখান কাজ গুলো। ভালো লাগা নিয়ে শিখছি। ধন্যবাদ আপনাকে।আমার কোড টি হলো কি না
// highest score
var score = [51, 23, 80, 2, 12, 15, 1, 73];
score.sort(function(a, b){
return b-a;
});
document.write(score[0]);

mdkamrulislam
Автор

var scores=[];
var n=parseInt(prompt("Enter number of element you want : "));
for(var i=0;i<n;i++){
"+ i + " element of array "))
}
function highestScores(scores){
scores.sort(function(a, b){
return b-a;
})
}
highestScores(scores)
document.write("Maximum number is "+scores[0])

hasiburrahman
Автор

scores =[30, 5, 0, 952, 321, 3, 100]

function minimumScores(scores){
let indext = scores[0];
for(let i=1; i<scores.length; i++){
if(indext<scores[i]){
indext =scores[i];
}
}
return indext;
}

const result = minimumScores(scores)
console.log(result)

FootballMore
welcome to shbcf.ru