Переведите с ASCII на русский. 143 174 162 239 167 160 171 160 32 174 225 165 173 236 32 175 165 225
226 224 235 169 32 228 160 224 226
227 170 136 32 162 165 164 165 224 170 168 32 225 32 170 224 160 225 170 160 172 168 32 162 167 239 171 160 46 144 160 173 168 172 32 227 226 224 174 172 44 32 175 224 174 229 174 164 239 32 175 174 32 175 160 224 170 22744 138 168 225 226 236 239 32 175 174 167 174 171 174 226 174 169 32 174 161 162 165 171 160 46
135 173 160 165 226 32 164 165 162 174 231 170 160 32 168 32 172 160 171 236 231 168 170 44 136 32 167 165 171 165 173 235 169 32 175 174 175 227 163 160 169 44 133 225 171 168 32 164 162 168 166 165 226 225 239 32 226 224 160 172 162 160 169 231 168 170 144 165 171 236 225 235 32 173 165 32 175 165 224 165 161 165 163 160 169 46
141 160 172 32 173 165 32 164 160 173 174 32 175 224 165 164 227 163 160 164 160 226 236 44 138 160 170 32 225 171 174 162 174 32 173 160 232 165 32 174 226 167 174 162 165 226 225 239 44 32 45 136 32 173 160 172 32 225 174 231 227 162 225 226 162 168 165 32 164 160 165 226 225 239 44 138 160 170 32 173 160 172 164 160 165 226 225 239 32 161 171 160 163 174 164 160 226 236 46 46 46
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <iostream>
using namespace std;
int main(int argc, char* argv[])
{int m;int arr[10];
cout << "input elements " << endl;
for ( int i= 0; i < 10; i++ )
cin >> arr[i];
cout << "input m " << endl;
cin >> m;
cout << "arr = {";
for ( int j = 0;j < 10; j++ )
cout << arr[j] << " ";
int sum;
for ( int k = 0; k < 10; k++ )
if (arr[k]*arr[k+1]<=m) {
sum=arr[k]+arr[k+1];break;
}
cout << "" << endl;
cout << "Summa " << " ";
cout << sum << endl;;
system("pause");
return 0;}
#include <iostream>
#include <algorithm>
#include <numeric>
#include <iterator>
#include <functional>
#include <cstdlib>
using namespace std;
const int SIZE = 20;
int arr[SIZE] = { -1, 1, 5, 2, -4, 0, 7, -2, 5, -9, 3,6,-9,0,-4,4,6,2,13,5 };
void Massiv()
{
cout << "new Array:" << std::endl;
copy(arr, arr + SIZE, std::ostream_iterator<int>(std::cout, " "));
cout << std::endl;
int memory= arr[0];
for (int k=0;k<SIZE-1;k++)
arr [k]=arr[k+1];
arr[SIZE-1]=memory;
cout << "new Array:" << std::endl;
copy(arr, arr + SIZE, std::ostream_iterator<int>(std::cout, " "));
cout << std::endl;}
int main()
{
Massiv();
system("pause");
return 0;
}
Второе не понял задания