Xxx.pptx
или
xxx.ppt
где xxx- название файла
A10=1*10^2+4*10+3+5*10^(-1)+1*10^(-2)+1*10^(-3)
A16=1*16^2+10*16+3+5*16^(-1)+12*16^(-2)+1*16^(-3)
электровоз вагон пассажиры-это состав.,действия-возить перевозить останавливаться на остановках. признаки-вагон пассажир окошко
Int A[6];
bool B = false;
for(int i = 0; i < sizeof(A); i++) {
A[i] = random(6);
if(i > 0 && A[i-1] == A[i])
B = true;
}
cout << "Массив: " << A[0] << A[1] << A[2] << A[3] << A[4] << A[5] << endl;
if(B == true)
cout << "Есть" << endl;
else
cout << "Нет" << endl;
#include <iostream>
#include <sstream>
using namespace std;
int ispal(int x)
{
stringstream a;
a<<x;
string s =a.str();
string t="";
for(int i=s.length()-1;i>=0;i--)
t+=s[i];
for(int i=0;i<s.length();i++)
if(s[i]!=t[i])
return 0;
return 1;
}
int main()
{
int n;
cin>>n;
while(!ispal(n))
n++;
cout<<n;
return 0;
}