👤

Cum afisez 10 la puterea ''n'' in C++? :D

Răspuns :

int i, n;
log x=10;
cin>>n
if(n>1)
{
do{
x=x*10;
n--;
}while(n==1);
}
else
cout<