ПН
Петр Никулин
#include
#include
#include
using namespace std;
int main() {
string s, i = "йцкнгшщзхфвпрлджчсмтбЙЦКНГШЩЗХФВПРЛДЖЧСМТБ";
cout
Добрый день, используйте компилятор с поддержкой c++0x или выше.
#include
#include
#include
using namespace std;
int count_consonants(const string & s)
{
const string vowels = "aeuio";
return count_if(begin(s), end(s),[&vowels](char c){
c = tolower(c);
return 'a'