en
Feedback
Coding Master

Coding Master

Open in Telegram

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 πŸ˜‰

Show more
9 775
Subscribers
+324 hours
-227 days
-10430 days
Posts Archive
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));

Don't forget to like & share the post

Visit our first post on Dev CommunityπŸ‘‡πŸ‘‡

8 Awesome Projects You Can Build With Vanilla JavaScript πŸ‘‡πŸ‘‡

Write a JavaScript program to check if the last digit of the three given positive integers is same. Β  function last_digit(x, y, z) { if ((x > 0) && y > 0 && z > 0) { return (x % 10 == y % 10 && y % 10 == z % 10 && x % 10 == z % 10); } else return false; } console.log(last_digit(20, 30, 400)); console.log(last_digit(-20, 30, 400)); console.log(last_digit(20, -30, 400)); console.log(last_digit(20, 30, -400));

Subscribe our YouTube channel fast πŸ‘‡πŸ‘‡ https://www.youtube.com/codingmasteryt

Want to level up your CSS Skills πŸ”₯πŸ”₯

[100%Off]Complete Modern JavaScript BootCamp from the beginning Master JavaScript with Pure JavaScript!JavaScript ES6+, OOP, AJAX https://coursevania.com/complete-modern-javascript-bootcamp-from-the-beginning/

Source Code

PHPNotesForProfessionals.pdf3.48 MB

PHP.pdf3.48 MB