Н:
Наташкин :)
помогите исправить код
#include "stdafx.h"
#include
#include
#include
#include
using namespace std;
int main()
{
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
const int size = 5;
string str[size];
bool isN = false;
for (int i=0;i
}
for (int i = 0; i < size; ++i)
for (int j = str.length() - 1; j >= 0 ; --j)
if (str[j] >= '0' && str[j] <= '9') {
std::cout << str << std::endl;
break;
}
{
if (isN==true) {
cout << str;
isN == false;
}
}
system("pause");
return 0; }