Элементарные задания по js
Задание №1. (while)
Даны положительные числа a и b (a > b). На отрезке длины a размещено максимально возможное количество отрезков длины b (без наложений). Не используя операции умножения и деления, найдите длину незанятой части отрезка a.
Задание №2. (while)
Дано целое число n (>0). Используя операции деления нацело и взятия остатка от деления, выведите все его цифры, начиная с самой правой (разряда единиц).
Задание №3. (for)
Даны два целых числа a и b (a < b). Найдите сумму всех целых чисел от a до b включительно.
Задание №4. (for)
Дано целое число n (n > 0). Найдите произведение n! = 1 * 2 * … * n.
Задание №5.
Напишите код, который:
1. Запрашивает по очереди значения при помощи prompt() и сохраняет их в массиве;
2. Заканчивает ввод, как только посетитель введёт пустую строку, не число или нажмёт "Отмена";
3. Выводит сумму всех значений массива.
Задание №6.
Даны целые числа a и b (a < b). Выведите все целые числа от a до b включительно; при этом число a должно выводиться 1 раз, число a + 1 должно выводиться 2 раза и т.д.
Задание №7.
Дано целое число. Определите и выведите его строку-описание вида:
– "нулевое число";
– "положительное четное число";
– "положительное нечетное число";
– "отрицательное четное число";
– "отрицательное нечетное число".
Задание №8.
Даны четыре целых числа, одно из которых отлично от трех других, равных между собой. Определите порядковый номер числа, отличного от остальных.
-
102 Приветствую, выполню все задания качественно и быстро. Имееться большой опыт работы с JavaScript.
-
456 31 1 Здравствуйте, сделаю быстро и качественно
Опыт веб-разработки около 4х лет
-
121 Здравствуйте, ознакомился с задачами, которые оказались весьма простыми. Готов сделать их до вечера и оформить в удобном для Вас стиле.
-
3698 111 3 5 Здравствуйте, Дарья.
Готов выполнить задачи по js.
С уважением, Юрий
-
237 25 1 Привет Дарья !
Я опытный веб разработчик
Сделаю ваши задания сегодня
Пишу чистый понятливый код
Давайте все обсудим в лс ?)
С уважением Тигран
Current freelance projects in the category Javascript and Typescript
Development of a WebGL/Three.js scene with generation and export of 3D (snapshot) from an animated shaderObject Description:The project is a designer table shaped like a realistic, deep whirlpool (a central vortex that smoothly transitions from a wide horizontal tabletop to a thin elegant leg). Task Essence:A WebGL / Creative Coding developer is required to create an interactive 3D… Javascript and Typescript, Web Programming ∙ 14 hours 59 minutes back ∙ 18 proposals |
Support and development of the cleaning company's website
20 USD
I'm looking for a web developer/webmaster for long-term support and development of a cleaning company's website. Website: https://donely.ca About the project DoneLy Home Services is a cleaning service company in Canada that is actively growing and expanding its geographical… Javascript and Typescript, Web Programming ∙ 2 days 16 hours back ∙ 59 proposals |
Development of a website according to the specifications on FramerYou need to create a website based on the parameters in the technical specification. https://docs.google.com/document/d/1ODO2C9Krb4AaMiJz9wfbNzWlAyA2FwCCHL8r0biajUY/edit?usp=sharing Please provide your actual rate based on this design. HTML & CSS, Javascript and Typescript ∙ 3 days 17 hours back ∙ 27 proposals |
Development of an interactive Palworld map for the websiteWe need to develop an interactive map for Palworld based on the example: https://palworld.gg/map We need not just a static image, but a full-fledged interactive map where users can view locations, toggle object categories on/off, search for specific points, and interact with… HTML & CSS, Javascript and Typescript ∙ 5 days 8 hours back ∙ 35 proposals |
Development of the AM Mobility platform (car service, parking, insurance, car rental)
5731 USD
We are looking for a team or an experienced Full Stack developer to create the MVP of the AM Mobility platform. AM Mobility is a unified digital ecosystem for motorists, combining in one application and web platform: parking; car service; tire fitting; car wash; car rental;… Javascript and Typescript, Web Programming ∙ 10 days 15 hours back ∙ 119 proposals |