D) (10000*a)-(3+1/5)*b
e) (1+x/2+y/6)/(1+2/(3+x*y))
Var a: array[1..10] of integer;
begin
randomize;
for i:=1 to 10 do begin
a[i]:=random(101);
if a[i] mod 10=5 then write(a[i], ' ');
end;
end.
#include <iostream>
using namespace std;
int main()
{
int res=0,a[100],n;
cout<<"Input N"<<endl;
cin>>n;
cout<<"Input elements."<<endl;
for (int i=0;i<n;i++)
cin>>a[i];
for (int i=0;i<n-1;i++)
if (((a[i]>=0) && (a[i+1]<0)) || ((a[i]<0) && (a[i+1]>=0)))
res+=1;
cout<<res;
return 0;
}<span>
</span>
1. D:\SCHOOL\PHYSICS\
2. Е:\GROUP\COURSE\ACADEMY\
3. <span>D:\Tasks\Физика.C </span>