#include <iostream> using namespace std; int main() { string str; char a,b; int count =0; getline(cin,str); int n=str.size(); cin>>a; b=a; if(('A'<=a)&&(a<='Z')) b=a+32; else if(('a'<=a)&&(a<='z')) b=a-32; ...