(n> 0)+(n> 0)
+(n> o)
++(n> 0)
(n> 0)⁴
#include
void main()
{
int n,i;
double a,b,c;
cout < < "vvedite n";
cin > > n;
cout < < "vvedite a";
cin > > a;
b=1;
c=1;
for (i=1; i< =n; i++);
{b*=a; c+=b; }
cout < < "rezultat: " < < c < < endl;
}
getch();
(n> 0)+(n> 0)
+(n> o)
++(n> 0)
(n> 0)⁴
#include
#include
#include
void main()
{
int n,i;
double a,b,c;
cout < < "vvedite n";
cin > > n;
cout < < "vvedite a";
cin > > a;
b=1;
c=1;
for (i=1; i< =n; i++);
{b*=a; c+=b; }
cout < < "rezultat: " < < c < < endl;
}
getch();