Learn JavaScript In Arabic 2021 - #026 - Number Challenge

preview_player
Показать описание
Number Challenge

Study Plan:

Code & Notice:

Assignments:

=============================

Support Me on Patreon to Help me Create More Videos

I will be Very Happy if you Support my Channel.

Join Our Facebook Group:

Follow My Facebook Profile:

Like Facebook Page:

Follow Me On Twitter:
Рекомендации по теме
Комментарии
Автор

التاسك
let a = 100;
let b = 2_00.5;
let c = 1e2;
let d = 2.4;

// Find Smallest Number In All Variables And Return Integer
console.log(Math.round(Math.min(a, b, c, d)));

// Use Variables a + d One Time To Get The Needed Output
console.log(a ** parseInt(d)); // 10000

// Get Integer "2" From d Variable With 4 Methods
console.log(parseInt(d));
console.log(Math.trunc(d));
console.log(Math.floor(d));
console.log(Math.round(d));

// Use Variables b + d To Get This Valus
console.log((parseInt(b) / Math.ceil(d)).toFixed(2)); // 66.67 => String
/ Math.ceil(d))); // 67 => Number

oodagamer
Автор

حرفيا من احلى المقاطع هي مقاطع التحدي بتحسسني اني فهمت وقت احلهم بجد

saraesbeer
Автор

let a = 1_00;
let b = 2_00.5;
let c = 1e2;
let d = 2.4;

console.log(Math.floor(Math.min(a, b, c, d))); // Challenge-1

console.log(a ** Math.trunc(d)); // Challenge-2

// Challenge-3
console.log(Math.trunc(d));
console.log(Math.floor(d));
console.log(Math.round(d));

fpuukdp
Автор

// Number Challenge

let a = 1_00; //100
let b = 2_00.5; //200.5
let c = 1e2; //100
let d = 2.4; //2.4

// Find the smallest number in all variables and return integer
console.log(parseInt(Math.min(a, b, c, d))); // result is 2

// Use variables a + d one time to get the needed output
console.log(Math.pow(a, (Math.round(d)))); // result is 10_000

// Get Integer 2 from d variable with 4 methods
console.log(Math.round(d));
console.log(Math.trunc(d));
console.log(Math.floor(d));
console.log(parseInt(d));

// Use variables b + d to get this values
console.log((Math.floor(b) / (Math.ceil(d))).toFixed(2)) // 66.67 String
console.log(Math.ceil(b / (Math.ceil(d)))); // 67 Number

samehelgazar
Автор

برانس المحتوى العربي في البرمجة تحياتي👍

hodaelfi
Автор

افضل قناة تعلم برمجة
تحية ليك من الجزائر elzero

alaaedine
Автор

the task:
/*
Number Challenge
*/
let a = 1_00;
let b = 2_00.5;
let c = 1e2;
let d = 2.4;

// Find smallest Number in all variables and return integer

console.log( Number.parseInt(Math.min( a, b, c, d)) );

// Use variables a + d to get output

console.log( a ** Number.parseInt(d) ); // 10000

// Get integer 2 wiht 4 methods

console.log( Number.parseInt(d) ); // 2
console.log( Math.round(d) ); // 2
console.log( Math.floor(d) ); // 2
console.log( +d.toFixed(0) ); // 2
console.log( Math.trunc(d) ); // 2

// Use variables b + d to get the values

console.log( +(Math.trunc(b) / ); // 66.67 => string
console.log( +(Math.trunc(b) / ); // 67 => number

ilyesonline
Автор

2 console.log(Math.pow(a, Math.floor(d)))

vvs
Автор

`let a = 1_00;
let b = 2_00.5;
let c = 1e2;
let d =2.4;

// Find the smallest number in all variables and return integer
console.log(Math.floor(Math.min(a, b, c, d, )));

// Use variables a + d one time to get the needed output
console.log(Math.pow(a, (Math.floor(d))));

// Get Integer 2 from d variable with 4 methods
console.log(Math.floor(d))
console.log(Math.round(d))
console.log(Math.trunc(d))
console.log(parseInt(d));

// Use variables b + d to get this values
console.log((Math.floor(b) / String
/ Number
`

zbcwkmi
Автор

3 console.log(Math.floor(d));
console.log(Math.trunc(d));
console.log(Math.round(d));
console.log(parseint(d));

vvs
Автор

بدعيلك ي زيرو فى كل فيديو اسمعه ربنا يجعله في ميزان حسناتك ❤

abrarmedhat
Автор

تسلم شكرا ليك جدا افضل واحد على اليوتيوب انت و (احمد ابو زيد)

marwanzayed
Автор

console.log(Math.trunc(Math.min(a, b, c, d)))

mohamedcherifsdiri
Автор

شكرا بشمهندس اسامة علي الشرج الممتاز
let a=1_00;
let b=2_00.5;
let c=1e2;
let d=2.4;
//Find smallest Number in all variables
console.log(Math.min(a, b, c, d));
//Return Integer Number in all variables
console.log(parseInt(a));
console.log(parseInt(b));
console.log(parseInt(c));
console.log(parseInt(d));

//User variable a and d one time To Get the Needed Output 10000
console.log(parseInt(a)**2);
//Get integer (2) from d variabel with 5 methode
console.log(parseInt(d));
console.log(Math.trunc(d));
console.log(Math.floor(d));
console.log(d.toFixed(0));
console.log(Math.trunc(d));
//user variable b +d To Get This Values


mohamedalsayed
Автор

التحدي الأول والثاني

let a = 1_00;
let b = 2_00.5;
let c = 1e2;
let d = 2.4;


console.log(Math.round(Math.min(a, b, c, d)));

console.log(a ** Math.floor(d));

console.log(Math.round(d));
console.log(parseInt(d));
console.log(Math.floor(d));
console.log(Math.trunc(d));

walied_elwanch
Автор

Challenge solving :

let a = 1_00;
let b = 2_00.5;
let c = 1e2;
let d = 2.4;

challenge 1 : console.log(Math.trunc(Math.min(a, b, c, d)));


challenge 2 : console.log(a * Math.trunc(b) / 2);

challenge 3 :


console.log(Math.trunc(d));
console.log(Math.floor(d));

console.log(d.toFixed(0));

challenge 4 :


console.log((Math.ceil(--b) / Math.ceil(d)).toFixed(2));
/ Math.ceil(d)))

mohammedhassan
Автор

/**حل التمارين */
let a = 1_00;
let b = 2_00.5;
let c = 1e2;
let d = 2.4;
/**قم بإسترجاع أصغر رقم في القيم الموجودة في المتغيرات كعدد صحيح “Integer”
*/
console.log(Math.floor(Math.min(a, b, c, d)));
/**
إستخدم المتغيرات a + d مرة واحدة فقط لتخرج بالنتيجة المطلوبة
// Use Variables a + d One Time To Get The Needed Output
console.log(); // 10000
*/
console.log(a ** parseInt(d));

/*
قم بإسترجاع رقم 2 من المتغير d بأربع طرق مختلفة
*/
console.log(Math.round(d));
console.log(Math.floor(d));
console.log(Math.trunc(d));
console.log(parseInt(d));

// Use Variables b + d To Get This Valus

console.log((parseInt(b) / Math.ceil(d)).toFixed(2));
/ Math.ceil(d)));

ahmedzakan
Автор

//assignment 6

let flt = 10.4;


//1
console.log(parseInt(flt));

//2
console.log(Math.round(flt));

//3
console.log(Math.floor(flt));

//4
console.log(Math.trunc(flt));

//5

mostafamohsen
Автор

عظمة كالعادة يا بشمهندس
ربنا يوفقك ويجزاك خير علي الي بتقدمه للناس من علم بكل حب
هفضل احطلك الكومنت دا علي كل فيديو اذاكره في الكورس دا

FartakaTechnology
Автор

let a = 1_00;
let b = 2_00.5;
let c = 1e2;
let d =2.4;
document.write(Math.min(a, b, c, d, ));



document.write(d.toFixed());
document.write(a * c);


document.write(a .toFixed(2));
اقسم بالله انا منبهر من نتيجتي وشغلي ومش مصدق نفسي ربنا يفوقك يا هندسه واحسنت في كل شئ بصراحه

Mohamed-Biso