// zadanie_6.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include using namespace std; int kolvo(char a, bool sl) { int m=0; if((sl)&&(a=='5')) { m=1; } return m; } int main() { setlocale(0, "rus"); char st[100]; gets(st); int i,n=0,k=0; bool slovo=false; if (st[0]!=' ') slovo=true; cout<<"Число - кол-во цифр 5\n"; for(i=0;i