Построить блок схему по программе #include "iostream"
#include "iomanip"
#include "cmath"
using namespace std;
int main()
{
double x, y;
cout << setw(10) << "x" << setw(10) << "y" << endl;
x = 0.5;
while (x<=5)
{
y = 2 * exp(4 * x) + atan(x);
cout << setw(10) << x << setw(10) << y << endl;
x = x + 2.1;
}
return 0;
}
a:array[1..10000] of integer;
i, n, first, last:integer;
fl: boolean;
begin
Read(n);
For i:= 1 to n do
Read(a[i]);fl:=false;
For i:= 1 to n do
if (a[i] mod 5 = 0) then
if (fl = false) then begin
fl:= true;
first := i;
last:= i;
end
else
last := i;
Writeln('Первый -> ', first);
Writeln('Последный -> ', last);
end.