# блог студента программиста

## Тема 9 задача 2

program Project2;
var a,b: integer;

begin
writeln('vvedite pervoe chislo');
writeln('vvedite vtoroe chislo');
if (a > b) then
writeln(12)
else
writeln(888);
end.

## задача 1 урок 11

program training;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
{$ENDIF}{$ENDIF}
Classes
{ you can add units after this };

begin;
if i begin;
writeln(i + 7);
end;
if i > 15 then;
end;
end.

## задача 7 урок 10

program training;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
{$ENDIF}{$ENDIF}
Classes
{ you can add units after this };

begin;
i := for 1 to 100;
writeln((i mod 7) = 0);
end.

## задача 6 урок 10

program training;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
{$ENDIF}{$ENDIF}
Classes
{ you can add units after this };

begin;
i := for 35 to 117 do;
writeln((i mod 3) = 0);
b := for 45 to 99 do;
writeln((b mod 3) = 0);
end.

## задача 5 урок 10

program training;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
{$ENDIF}{$ENDIF}
Classes
{ you can add units after this };

begin
i := for 35 to 117 do
writeln((i mod 2) = 0)
b := for 45 to 99 do
writeln((b mod 2) = 1, 2, 3, 4, 5, 6, 7, 8, 9)
end.

## задача 4 урок 10

program training;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
{$ENDIF}{$ENDIF}
Classes
{ you can add units after this };

begin
i := for 35 to 117 do
if((i mod 3) = 0) AND ((i mod 2) = 1,2,3,4,5,6,7,8,9 )
writeln(' i : 3 ')
end.

## задача 3 урок 10

program training;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
{$ENDIF}{$ENDIF}
Classes
{ you can add units after this };

begin
if i > 100 then
begin
b := for i to 1 do
writenl(b)
end
if i begin
d := for 1 to i do
write (d)
end
end.

## задача 2 урок 10

program training;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
{$ENDIF}{$ENDIF}
Classes
{ you can add units after this };

begin
i := for a to 1 do
writenl(i : 5)
end.

## задача 1 урок 10

program training;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
{$ENDIF}{$ENDIF} 