program SumOfSin;
varN, i: Integer;S: Real;
beginWrite('Enter a natural number N: ');Readln(N);
S := 0;
for i := 1 to N dobeginS := S + 1 / sin(i);end;
Writeln('The sum is ', S:0:2);end.
program SumOfSin;
var
N, i: Integer;
S: Real;
begin
Write('Enter a natural number N: ');
Readln(N);
S := 0;
for i := 1 to N do
begin
S := S + 1 / sin(i);
end;
Writeln('The sum is ', S:0:2);
end.