#include <iostream>
using namespace std;
int main()
{
int A,B,C;
cout<<"Input A: "<<endl;
cin>>A;
cout<<"Input B: "<<endl;
cin>>B;
cout<<"Input C: "<<endl;
cin>>C;
if(A>0||B>0||C>0)
cout<<"An optional item is present"<<endl;
else
cout<<"There is no additional item"<<endl;
return 0;
}
computer science -<span> информатика</span>
..........................................................................
Var n,i: integer;
s:real;
begin
readln(n);
i:=3;
while i<= (2*n+1) do
begin
s:=s+(1/sqr(2*i+1));
i:=i+2
end;
writeln('s= ', s)
end.
Выбирай любой:
a := b * power(c, 2);
a := b * sqr(c);
a := b * exp(ln(с)*2) ;
a := b * (c * c);