Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [pascal] pomoc w zadaniu
aleo
post
Post #1





Grupa: Zarejestrowani
Postów: 137
Pomógł: 0
Dołączył: 23.08.2008

Ostrzeżenie: (0%)
-----


Kod
program rysowanie;
uses crt; var x1,y1:longint;ss:string;
procedure pisarz(x,y:longint;s:string);
begin
gotoxy(x,y);
write(s);
end;
begin
clrscr;
   write('podaj x y i s');    read(x1);read(y1);write('podaj s');read(ss);
pisarz(x1,y1,ss);
end.


dlaczego nie wyczytuje zmiennej ss?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
aleo
post
Post #2





Grupa: Zarejestrowani
Postów: 137
Pomógł: 0
Dołączył: 23.08.2008

Ostrzeżenie: (0%)
-----


Kod
program zad4;
             uses crt;
             var
             d,e,f:real;
function min3(a,b,c:real):real;
begin
if a<b then
if a<c then min3:=a
else if  b<c then min3:=b
else min3:=C;

                              end;

                              begin
                              writeln('podaj a , b  ,c ');
                              read(d);
                              read(e);
                              read(f);
                              writeln('najmniejsza wartosc',min3(d,e,f):2:0);
                              readln;



                              end.


A dlaczego tu jest źle ?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 5.10.2025 - 11:38