Coding Master
Kanalga Telegram’da o‘tish
ADMIN : @Coding_Master 👨🏼💼 Hello guys, I Created This Telegram Channel To Share Useful Content On Web Development & Programming. 👉 Free Ebooks 👉 Free Tools & Resources Links 👉 Free Projects Source Code So Stay Tuned With Us & Keep Learning 😉
Ko'proq ko'rsatish9 278
Obunachilar
Ma'lumot yo'q24 soatlar
-257 kun
-12430 kun
Postlar arxiv
9 278
I've completed 70K Followers on my Instagram page @coding_.master 🥳🥳😍😍😍🔥🔥
Thnxx to all guys from the bottom of my heart ❤❤❤🥰🥰🤗🤗
Keep supporting always 😍😍
Follow us on Instagram to learn web development 👉👉 https://www.instagram.com/coding_.master/
9 278
Write a JavaScript program to compute the absolute difference between a specified number and 19. Returns triple their absolute difference if the specified number is greater than 19.
function diff_num(n) {
if (n <= 19) {
return (19 - n);
}
else
{
return (n - 19) * 3;
}
}
console.log(diff_num(12));
console.log(diff_num(19));
console.log(diff_num(22));
