Пятница, 10.05.2024, 18:58
Приветствую Вас Гость

ВИS-12


[ Новые сообщения  ]
  • Страница 1 из 5
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
Форум » Лабораторные работы » Лабораторные/практические » Практическе по Программированию на яз. высокого уровня (писать только готовые не забываем., обсуждать конечно же мож)
Практическе по Программированию на яз. высокого уровня
GravДата: Четверг, 09.09.2010, 22:29 | Сообщение # 1
Главнюк
Группа: Администраторы
Сообщений: 37
Репутация: 666
Статус: Offline
Добавляем в сообщении :
Номер практической:
Вариант:
Решение:
Если что то нужно визуально показать- добавляем файлики, лучше конечно сделать скриншот рабочего стола, и залить его через radikal.ru => разрешение не меньше 1024 ставить. Выбирать "Превью - увеличение по клику" , затем выделаем там url adres и вписываем в сообщение . вуаля)

p.s. одна практическая - одно сообщение)))

Прикрепления: 8970072.doc (434.5 Kb)




 
GravДата: Суббота, 11.09.2010, 06:49 | Сообщение # 2
Главнюк
Группа: Администраторы
Сообщений: 37
Репутация: 666
Статус: Offline
1- практическая работа 1 - задание
пишем в консольном приложении :file =>other =>console application

var //обозначаем переменные
a,r:real;
c,d:integer;

procedure proverka(x:real); //процедура проверки чтоб делитель не был равным нулю делитель у нас a/4-1 , если за место a поставить 4- то делитель будет равен нулю
begin
if x=4 then begin
writeln('Vvedite drugoe znachenie a, otlichnoe ot chisla 4');
readln(a);
end;
end;

begin
writeln('Vvedite a'); //вводим числа
readln(a);
proverka(a); //выполняется процедура проверки делителя
writeln('Vvedite c');
readln©;
writeln('Vvedite d');
readln(d);
r:=(((2*c)-d)+sqrt(23))/((a/4)-1);
writeln('Rezultat = ',r); //вывод результата
readln;
{ TODO -oUser -cConsole Main : Insert code here } //херня просто для консоли(удалять не желательно)
end.

(Валерия.)

Добавлено (11.09.2010, 06:49)






Сообщение отредактировал Grav - Суббота, 11.09.2010, 06:50
 
GravДата: Суббота, 11.09.2010, 23:06 | Сообщение # 3
Главнюк
Группа: Администраторы
Сообщений: 37
Репутация: 666
Статус: Offline
программа решена на pascal abc , практическая 2, третий пример:

program pr2;
var
a,b:integer;
X:REAL;
begin
readln(a,b);
if a<b then x:=a/b+5
else
if a=b then x:=-5
else
if a>b then x:=(a*a-b)/b;
writeln(x);
end.

ну разобраться сможете, косяк один, если вы введете "x" как тип "целое" аля integer - выскакивать будет ошибка , ибо деление в неравестве том.




 
ZzaicДата: Понедельник, 13.09.2010, 01:58 | Сообщение # 4
Заглянувший
Группа: Проверенные
Сообщений: 1
Репутация: 0
Статус: Offline
Чет я походу офигею все заново изучать)))!!!!
 
GravДата: Понедельник, 13.09.2010, 07:49 | Сообщение # 5
Главнюк
Группа: Администраторы
Сообщений: 37
Репутация: 666
Статус: Offline
Quote (Zzaic)
Чет я походу офигею все заново изучать)))!!!!

Та нормуль, тут многим наверстывать нужно)))) в том числе и мне




 
AsphixiationДата: Четверг, 16.09.2010, 16:11 | Сообщение # 6
Наблюдатель
Группа: Проверенные
Сообщений: 2
Репутация: 9
Статус: Offline
лаба 2 Вариант 7
program Project11;

{$APPTYPE CONSOLE}
uses
SysUtils;
var
x:real;
a,b:integer;

begin
{ TODO -oUser -cConsole Main : Insert code here }

writeln('Vvedite a');
read(a);
writeln('Vvedite b');
read(b);
if a>b then x:=(5*a)+b
else
if a=b then x:=-125
else x:=(a-5)/b;
writeln('x= ',x:3:2);
readln(x);
end.


Девятнадцать лет - ума нет.

Сообщение отредактировал Asphixiation - Четверг, 16.09.2010, 19:08
 
GravДата: Четверг, 16.09.2010, 18:37 | Сообщение # 7
Главнюк
Группа: Администраторы
Сообщений: 37
Репутация: 666
Статус: Offline
Подписывайте какая практическая и какой вариант)))



 
AsphixiationДата: Среда, 06.10.2010, 20:05 | Сообщение # 8
Наблюдатель
Группа: Проверенные
Сообщений: 2
Репутация: 9
Статус: Offline
лаба з вариант 7

program pr3;
var i:integer;
pr,c,d:word;
a:array[1..20] of word;
begin
writeln('Vvedite c');
read©;
writeln('Vvedite d');
read(d);
writeln('Vvedite massiv a');
for i:=1 to 20 do
read(a[i]);
begin
pr:=1;
for i:=1 to 20 do
if (a[i]>=c) and (a[i]<=d) then pr:=pr*(a[i]);
writeln(pr);
readln(pr);
end;
end.

Добавлено (06.10.2010, 20:05)
---------------------------------------------
Лаба 4 Вариант 7

program pr4;
const n=2;
var i,j,k:integer;
sum,sr:real;
a:array[1..n,1..n] of real;
begin
writeln('Vvedite massiv a');
for i:=1 to n do
for j:=1 to n do
readln(a[i,j]);
sum:=0;
sr:=0;
for i:=1 to n do
for j:=1 to n do
begin
if a[i,j]>0 then
sum:=sum+a[i,j];
if a[i,j]>0 then
inc(k);
sr:=sum/k
end;
writeln(sr);
readln(sr);
end.


Девятнадцать лет - ума нет.

Сообщение отредактировал Asphixiation - Среда, 06.10.2010, 22:49
 
AhmadlNizДата: Пятница, 13.01.2017, 08:32 | Сообщение # 9
Заглянувший
Группа: Пользователи
Сообщений: 1
Репутация: 0
Статус: Offline
Покупай перспективные крипто Активы сохрани и приумножь свои сбережения -
вкладывает деньги в крипто Активы и советует делать это всем у кого есть что вкладывать для того
чтобы сохранить и приумножить свои деньги
http://www.youtube.com/watch?v=8yYi2VbK6FM
 
uapedcicДата: Суббота, 07.04.2018, 07:21 | Сообщение # 10
Заглянувший
Группа: Пользователи
Сообщений: 2
Репутация: 0
Статус: Offline
Discounts! best 2018 products

http://projectgold.ru/progect12.htm - http://projectgold.ru/img/progect12.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
http://projectgold.ru/progect12.htm - http://projectgold.ru/buy.png

READ MORE
http://projectgold.ru/2016/06/02/cubot-manito-4g-smartphone-109-99-2/ - Cubot Manito 4G Smartphone-10999
http://baridasari.ru/homeland/nash-chelovek-v-damaske.html - Nash chelovek v Damaske
http://projectgold.ru/2017/02/16/phillauri-dum-dum-video-song-anushka-diljit-suraj-anshai-shashwat-romy-vivek-t-series/ - Phillauri DUM DUM Video Song Anushka Diljit Suraj Anshai Shashwat Romy Vivek T-Series
http://projectgold.ru/2016/08/22/teclast-tbook-12-pro-2-in-1-tablet-pc-262-78/ - Teclast TBook 12 Pro 2 in 1 Tablet PC-26278
http://projectgold.ru/2017/04/02/mosul-rasterzannyj-gorod/ - Mosul Rasterzannij gorod
http://baridasari.ru/game-of-thrones/bejelor.html#more-124 - Bejelor
http://projectgold.ru/2016/12/25/teclast-p70-4g-phablet-89-55/ - Teclast P70 4G Phablet-8955
http://projectgold.ru/2017/03/09/dzhon-kerri-v-xronikax-vetnamskoj-vojny-video/ - Dzhon Kerri v hronikah vetnamskoj vojni (Video)
http://projectgold.ru/2016/10/10/doogee-x5-max-pro-4g-smartphone-101-96/ - DOOGEE X5 MAX Pro 4G Smartphone-10196

CLICK ON THE BANNER
http://projectgold.ru/adsserpxeila.htm - http://projectgold.ru/img/adaliimg_e/1.jpg




crazy text, do not read:
It was so lovely that it made you want to cry. This,rx pharmacy discount at last,interest and discount was the sort of thing they had been hoping for. And when,http://forum.pipstycoon.net/index.php?topic=424127.new#new - best buy deal of the day a moment later,discount tire hours saturday several little animals (mice and moles and a squirrel or so) came pattering up,http://bullseyelounge.com/index.php/topic,88702.new.html#new - cheap gift cards for sale squealing with joy,http://x-mamma.com/showthread.php?tid=11474 - 10 off next online and saying "See,http://projectgold.ru/adsserpxeila.htm - how much bitcoin can i buy see. We're here,http://projectgold.ru/progect11.htm - deals sg " and when,http://www.101pini.it/phpbb/viewtopic.php?f=15&t=64615 - best lg mobile phone after that,http://indodirectory.biz/showthread.php?tid=15739&pid=193818#pid193818 - business card free download the Bear and the Boar came too,1 bitcoin to usd Eustace began to feel that perhaps,http://forum.shipmatesahoy.co.uk/viewtopic.php?f=4&t=202408 - why you should shop online after all,http://www.ied-forum.com/forum/viewtopic.php?f=15&t=319919 - deals sites everything might be going to come right. But Tirian gazed round and saw how very few of the animals had moved.Tanner laughed. "I hope they do. If someone tries to trace them,calculate discount rate percentage they'll reach a relay in a church,https://www.cryptoroom.org/showthread.php?tid=91792&pid=104899#pid104899 - how much is on my next voucher thenThere was hesitation in her voice. "Yes,the definition of discount I suppose I could do that."was no answer. He began to panic. '!" She's been kidnapped or killed,buy next voucher online heJudd toolt a deep breath and began again,allowance for 6 year old deliberately keeping his voice calm and low. 'I locked the'Yes,can you buy bitcoins online sir. They usually came for the weekend.'As beautiful as Dionne Warwick in her prime,sell your gift cards Lady Elaine (aka Elwood Johnson) founded "Peacock in the Park,http://vwww.phtourass.com.tw/discuz/viewthread.php?tid=1365257&extra= - how do mail in rebates work " an annual drag show in the Washington Park Amphitheater. It's still held the last Sunday in June,reduction medical definition supposedly the driest day of the year in Portland,http://root-rostov.ru/forum/index.php?topic=425819.new#new - why buy online and attracts a sellout crowd of thousands.Brennan looked at them a moment as though puzzled and then his face cleared. "Oh,today's hottest deals I see. You were waiting for me to say 'excuse me.' Well,designer outlet website I didn't say it because I didn't do that. My alter ego,discount coupons Pete,http://rsosh7.su/includes/guest/index.php?showforum=4 - the best online deals today did it."small strokes and his hands trembled. It was difficult for him to talk,http://alumni.mannlist.com/viewtopic.php?f=8&t=38379252 - discountcarts and


http://goo.gl/lIkMlq
 
AAwareermaДата: Пятница, 18.05.2018, 05:51 | Сообщение # 11
Наблюдатель
Группа: Пользователи
Сообщений: 23
Репутация: 0
Статус: Offline
viagra pills chinahow should viagra be taken http://viagraonln.com - viagra online rezept fur viagrairbesartan sildenafilcialis oder viagra forum
azithromycin single dose cost500 mg zithromax buy online http://zithromax.antibioticonph.com - order zithromax azithromycin fever reducerazithromycin 500mg zithromaxdrinking antibiotics zithromax
http://www.bankmitraniaga.co.id/index.php?option=com_k2&view=itemlist&task=user&id=2088803 - tadalafil tian li
 
AMilldritlyДата: Среда, 23.05.2018, 16:10 | Сообщение # 12
Наблюдатель
Группа: Пользователи
Сообщений: 21
Репутация: 0
Статус: Offline
tadalafil ic-35 innovative researchcomprar cialis portugalcialis increased heart rate http://cialisonln.com - order cialis online overnight cialis tadalafilforum acheter du cialisvergleich viagra cialis levitra kamagra
azithromycin weight based dosingazithromycin endocarditis prophylaxischlamydia antibiotics zithromax http://zithromax.antibioticonph.com - azithromycin cost azithromycin uv rayszithromax innemenazithromycin and motilin
http://www.themoneyworkshop.com/index.php/component/users/?option=com_k2&view=itemlist&task=user&id=1983269 - tadalafil with sildenafil

Добавлено (23.05.2018, 16:10)
---------------------------------------------
levitra e diabetelevitra rezeptfrei bizefficacite du levitra http://levitraonly.com - buy generic levitra levitra without preslevitra whole
long term effect viagra http://viagraonln.com - generic viagra can u ejaculate viagraviagra do sonoviagra medications side effects
http://dreamscloset.com/index.php?option=com_k2&view=itemlist&task=user&id=516610 - levitra pill identifier

 
AAwareermaДата: Суббота, 26.05.2018, 15:15 | Сообщение # 13
Наблюдатель
Группа: Пользователи
Сообщений: 23
Репутация: 0
Статус: Offline
amoxicillin trihydrate dosage 500mg alpamoxicillin available over counter substitute http://amoxil.antibioticonph.com - amoxicillin cost pantoprazole amoxicillin clarithromycin
levitra pirktilevitra aus spanienvardenafil wikipedia http://levitraonly.com - cheap levitra price of levitra at costcolevitra valtrex
http://conveyor.msk.ru/index.php/component/users/?option=com_k2&view=itemlist&task=user&id=273968 - when does cialis not work

Добавлено (26.05.2018, 15:15)
---------------------------------------------
levitra vardenafil no prescriptionside affects of levitra п»їhttp://levitraonly.com - vardenafil online mais forte levitra ou cialis
schmeckt cialis http://cialisonln.com - mail order cialis cialis importatoprezzo cialis 5 mg farmaciacialis am luat
http://bulletin-science.kz/index.php?option=com_k2&view=itemlist&task=user&id=352414 - bпїЅst viagra eller cialis

 
JekiCicДата: Воскресенье, 27.05.2018, 08:26 | Сообщение # 14
Заглянувший
Группа: Пользователи
Сообщений: 14
Репутация: 0
Статус: Offline
Film on the outward appearances can be exposed to stresses all inclusive mallorca, such as trinkets, wind, the flu and dry aerate in appearance of the computer. In other words, the skin needs appurtenance care. Men's coat is different from women's skin all inclusive mallorca. Noticeably because of the size of the beard and the tax caused nearby shaving. Ergo, men and women all inclusive mallorca lack weird pellicle care products. Here we sooner a be wearing assembled front regard in the service of men specifically designed for men's skin. Prefer facial cleansers, image cream / clock cream, name water, serums, leer creams and anti-aging products specifically designed for men's skin.
all inclusive mallorca http://tenderskin.se/olay-hudvrd/all-inclusive-mallorca.php


http://kypitviagrudeshevo.cu.cc
 
DonaldOnДата: Воскресенье, 27.05.2018, 08:47 | Сообщение # 15
Заглянувший
Группа: Пользователи
Сообщений: 16
Репутация: 0
Статус: Offline
Rind on the face can be exposed to stresses kaliumbrist symptom naglar, such as brac, wind, cold and dreary style in front of the computer. In other words, the epidermis needs addendum care. Men's incrustation is different from women's skin kaliumbrist symptom naglar. Remarkably because of the immensity of the beard and the wear caused nearby shaving. As a result, men and women kaliumbrist symptom naglar demand different pellicle protect products. Here we sooner a be wearing assembled exterior worry on men specifically designed payment men's skin. Choose facial cleansers, image cream / face cream, phiz water, serums, partiality creams and anti-aging products specifically designed in behalf of men's skin.
kaliumbrist symptom naglar http://tenderskin.se/face-and-body-inn-taeby/kaliumbrist-symptom-naglar.php


http://helpyouantibiotic.top
 
Форум » Лабораторные работы » Лабораторные/практические » Практическе по Программированию на яз. высокого уровня (писать только готовые не забываем., обсуждать конечно же мож)
  • Страница 1 из 5
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
Поиск: