October 2018 1 18 Report

Narysuj prostokąt w dev pascal

program ekran;
uses graph;
var ster,tryb,i:word;
begin
detectgraph(ster,tryb);
initgraph(ster,tryb,'');
line(0,0,getmaxx,getmaxy);
line(0,getmaxy,getmaxx,0);
line(getmaxy div 2,0,getmaxx,getmaxy div 2);
line(0,getmaxy div 2,getmaxx,getmaxy div 2);
for i:=1 to 20 do
line(0,getmaxy div 2,
readln;
closegraph;
end.


More Questions From This User See All

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.