#include <iostream> #include<string> using namespace std; int main(){ char str[1000000]; cin.getline(str,sizeof(str)); // write your code here...... int a,b,c; a=0; b=0; c=0; char *p =str; while(*p !='\0' ){ if(*p=='a') a++; else if(*p=='b') b++; else ++c; p++; } cout<<a<<" "...