так чтоли?
<html>
<head>
<title>Анкета</Title>
</head>
<body>
<h1>Анкета</h1>
<form>
Какой браузер вы используете?
<select name="browser">
<option selected> Internet Explorer
<option> Opera
<option> Mozila
</select>
<br/>
Ваша электронная почта <input type="text" name="email" />
<br/>
Ваше имя <input type="text" name="name" />
<br/>
</form>
<a href="mailto:[email protected]">mailto:[email protected]</a>
</body>
</html>
1) var A: array [1..2] of real;
B: array [1..20] of real;
i:integer;
c:boolean;
begin
c:=false;
readln(a[1],a[2]);
for i:=1 to 20 do begin
readln(b[i]);
if (b[i]=a[1]) then begin writeln('A[1]=B[',i,']=',b[i]);c:=true; end;
if (b[i]=a[2]) then begin writeln('A[2]=B[',i,']=',b[i]);c:=true; end;
end;
if c=false then writeln('Совпадений не найдено');
end.
2) var a:array[1..10] of real;
npol,notr,i: integer;
begin
npol:=0;
notr:=0;
for i:=1 to 10 do begin
readln(a[i]);
if a[i]>0 then npol:=npol+1;
if a[i]<0 then notr:=notr+1;
end;
writeln('Количество положительных значений: ',npol,', количество отрицательных значений: ',notr);
end.
mod - получение целого остатка от деления двух чисел
x div y где x - делимое, а y - делитель
x mod y где x - делимое, а y - делитель
Например:
13 div 10 = 1
13 mod 10 = 3
13/10 = 1 (целое частное) и 3 (целый остаток)
4 div 2 = 2
4 mod 2 = 0
4/2 = 2 (целое частное) и 0 (целый остаток)
5 div 2 = 2
5 mod 2 = 1
5/2 = 2 (целое частное) и 1 (целый остаток)