TP // mniejsze_wieksze.pas
uses crt;
var a:real;
begin
clrscr;
writeln(‘podaj liczbe: ‘);
read(a);
if (a=0) then
writeln(a:6:2,’ = 0′)
else
begin
if (a>0) then
writeln(a:6:2,’ > 0′)
else
writeln(a:6:2,’ < 0′)
end;
delay(5000);
end.
About this entry
You’re currently reading “TP // mniejsze_wieksze.pas,” an entry on Różności
- Published:
- January 24, 2006 / 11:31 am
- Category:
- TP
- Tags:
No comments yet
Jump to comment form | comments rss [?] | trackback uri [?]