View Code of Problem 25

#include<iostream>

using namespace std;

int main(void){
	char m;
	while(cin >> m){
		if(m>='a'&&m<='z'){
			m=m-32;
		}
		else{
			m=m+32;
		}
		cout << m << endl;
	}
}

Double click to view unformatted code.


Back to problem 25