AAkramov Uluğbek#include<iostream> #include<string> using namespace std; int main ( ) { char a[1000]; int n,k=0,j=0; string s; cout<<"satrni kiriting: "; cin.getline(a,100); n=strlen(a); for (int i=0; i<=n; i++) { if (a[i]=='a' ) k++; } cout<<k<<" "; for (int i=0; i<=n; i++) { if (a[i]=='.' ) j++; } cout<<j; }09:33