Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
uses crt; var a,b,c,min: integer; beginwriteln('введи три числа: '); readln(a,b,c); min: =a; if b< min then min: =b; if c< min then min: =c; writeln('наименьшее из этих чисел: ',min); readln; end.
program p; uses crt,graph; var d,m: integer; beginclrscr; initgraph(d,m,''); setcolor(green) ; line(200,420,300,420); line(300,420,250,330); line(250,330,200,420); line(200,330,300,330); line(300,330,250,240); line(250,240,200,330); line(200,240,300,240); line(300,240,250,140); line(250,140,200,240); readkey; end.
поскольку язык не указан пишу в том который мне удобнее
def temp-table wares no-undo
field ware as char
field cost as dec extent 13
field infl as dec.
def var i as int.
def var infl as dec.
input from data.txt.
repeat:
create wares.
import wares.
end.
input close.
do i = 2 to 13:
infl=random(0.0005, 0.02).
for each wares :
wares.cost[i]=wares.cost[i-1]*(1+infl).
var n,i: integer;
begin
read(n);
for i: = 2 to (n-1) do
if n mod i ==0 then begin
writeln('no');
break;
end;
writeln('yes');
Популярные вопросы