Yoko

All sides of Injection
It is currently 2024-03-28 13:19:16

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Паскаль :)
PostPosted: 2013-09-30 19:56:29 
Offline

Joined: 2013-09-01 15:59:29
Posts: 34
помогите плиз: Напишите на языке Паскаль программу вычисления y по формуле: y = ( 1- x2 + 10x4 )2, где x - данное целое число. . Расположите в правильном порядке строки программы, вычисляющей периметр и площадь параллелограмма: 1) S:=a*h; 2) end. 3) program pr; 4) p:=2*(a+b); 5) Uses crt; 6) var a,b,h,p,s: integer; 7) readln; 8) Writeln(‘p=’,p,’ s=’,s); 9) a:=6;b:=3;h:=4; 10) clrscr; 11) begin


Top
   
 Post subject: Re: Паскаль :)
PostPosted: 2013-09-30 20:33:39 
Offline

Joined: 2011-06-11 19:54:23
Posts: 820
Beltek wrote:
помогите плиз: Напишите на языке Паскаль программу вычисления y по формуле: y = ( 1- x2 + 10x4 )2, где x - данное целое число. . Расположите в правильном порядке строки программы, вычисляющей периметр и площадь параллелограмма: 1) S:=a*h; 2) end. 3) program pr; 4) p:=2*(a+b); 5) Uses crt; 6) var a,b,h,p,s: integer; 7) readln; 8) Writeln(‘p=’,p,’ s=’,s); 9) a:=6;b:=3;h:=4; 10) clrscr; 11) begin

http://stealth.od.ua/Doc:Manual/Scripting/Pascal
Минут 10 сравнения строчек и у тебя будет то, что тебе нужно)


Top
   
 Post subject: Re: Паскаль :)
PostPosted: 2013-10-02 19:59:41 
Offline

Joined: 2013-09-01 15:59:29
Posts: 34
Все еще жду помощи!


Top
   
 Post subject: Re: Паскаль :)
PostPosted: 2013-10-09 11:18:38 
Offline
User avatar

Joined: 2006-12-08 10:51:50
Posts: 718
Location: Москва
как-то так, но я двоиШник

Code:
 3) program pr;
 5) Uses crt;
 6) var a,b,h,p,s: integer;
11) begin
 9) a:=6;b:=3;h:=4;
 1) S:=a*h;
 4) p:=2*(a+b);
 10) clrscr;
 7) readln;  Writeln(‘p=’,p,’ s=’,s);
 2) end.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited