Создать форум бесплатно: ixbb.ru :: Календарь на Март 2024 года: calendar2008.ru/2024/mart/

  Reply to this topicStart new topicStart Poll

простые числа

kalash
Отправлено: Nov 23 2009, 06:09 PM
Quote Post


  Солдат
*

Группа: unior
Сообщений: 2
Пользователь №: 3004
Регистрация:
23-November 09



Привет всем! Буду рад помощи только начал изучение java script в универе. Задали задачу вот такого содержания:Написать программу которая выводит первые n простых чисел. Буду рад любой помощи. Заранее спасибо!
PMEmail Poster
Top
Sitemaster
Отправлено: Nov 23 2009, 09:12 PM
Quote Post


  Команда ЭйсВэб
*

Группа: Super moderator
Сообщений: 425
Пользователь №: 2805
Регистрация:
6-September 09



Для начала создай алгоритм (блоксхему) вычисления простых чисел в ряде, используя оператор условия (if) и цикл (for). Потом под схему пиши скрипт по всем правилам синтаксиса javascript.


--------------------
Аватар Макса - это мой дядя!
PMEmail Poster
Top
kalash
Отправлено: Nov 23 2009, 09:24 PM
Quote Post


  Солдат
*

Группа: unior
Сообщений: 2
Пользователь №: 3004
Регистрация:
23-November 09



я в джаве новичек поэтому не смогу так сделать есть готовый код на паскале но там с массивом а мне нужен способ с линейными функциями.
PMEmail Poster
Top
SilverDEN
Отправлено: Nov 23 2009, 10:14 PM
Quote Post


  Команда ЭйсВэб
*

Группа: Super moderator
Сообщений: 528
Пользователь №: 196
Регистрация:
27-December 06



может это в тему http://www.denisx.ru/tech/prime-number/


--------------------
Мало знать как, нужно знать почему...
PMEmail Poster
Top
ruitrjiu
Отправлено: Dec 7 2013, 01:58 PM
Quote Post


  Unregistered









Mid-foot Rooms Style and design Category of Beverly<br><br>Slopes has been made possible to help you generate a new aspect with the place, Moncler Coats primarily based in regards to glistening different white wine fiberglass processing of your middle century Burberry Handbags modern-day antique the particular Eero Saarinen Tulip 30 meal table, by using three chairs with the help of brilliant discolored soft cushions $825, Typically the consistent fixed fit more in a relaxed manner during the room, Nike Air Max as well as the peana form lower limbs eradicated typically the messy look in the surrounding. With all the dining room table along with chairs since the beginning, Arc Interiors' Christopher Grub along with Bela Turner put together a new popular try to find the surrounding, completely, most from the slight spending plan necessities within the prospect.<br>
Dog Inside Layout Number of Beverly
The particular space scored great hallway
Typically the space assessed big hallway eeeeee
Top
ruitrjiu
Отправлено: Dec 13 2013, 02:20 AM
Quote Post


  Unregistered









That has they demonstrated to little ones as a result of a number of<br><br>matures movies regarding similar love-making adults advising together and gauging the particular typical reactions and also responses with the little one viewers. Moncler Jackets It truly was helpful to look at our potential decades helping to make fully developed in addition to topical commentary Cheap Canada Goose, some thing you'd pretty much never discover while in the thoughts chapters of many of these articles or reviews. However Air Jordan a few of the replies and also thoughts reared just by Benny and even Rafi Excellent got all of us believing<br>
It could in all probability that her stop never jolt so many
Do you consider the fact that Miley's EMAs
Ya think of which Miley's EMAs tttttt
Top

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0290 ]   [ 10 queries used ]   [ GZIP выключен ]